Disk I/O error - on query
Expected behaviour
Synchronization should work all the time.
Actual behaviour
after 2-3 hours of normal functionality (syncs were done successfully), errors appear in log file for every each file and over and over again. CPU on client is used by 100% and after 15 minutes log is 1GB big.
Steps to reproduce
- start owncloud client
- wait 2-3 hours
- ...restart of owncloud client is needed, then everythin is fine for another 2-3 hours.
Server configuration
Operating system: Debian squeeze
Web server: apache2 (2.2.16-6+squeeze11)
Database: php5 (5.3.3-7+squeeze15)
PHP version: mysql-server-5.1 (5.1.66-0+squeeze1)
ownCloud version: version 5.0.6 (versionstring 5.0.5)
Client configuration
Client version: 1.2.5-0
Operating system: Debian wheeze (fully updated)
OS language: English
Installation path of client: /usr/bin/owncloud
Logs
output of owncloud --logwindow or owncloud --logfile log.txt
04-25 13:11:39:445 csync_ftw: Uniq ID read from Database: KB/untitled.ncd ->
Web server error log
nothing relevant
ownCloud log (data/owncloud.log)
nothing relevant
I have the exact same problem on Debian Wheezy. I removed .csync_journal.db to regenerate the DB but it didn't help. I also rebuild the packages to no avail. I can access the db with sqlite3 at the time the client is throwing the errors.
Hmm, the sqlite documentation says that this error also is reported in case of out of disk space. But I assume that you have checked that?
Yes, I did.179G should be sufficient I guess ;-)
Same problem here.
04-26 23:11:29:814 csync_statedb_query: sqlite_step error: disk I/O error - on query: SELECT * FROM metadata WHERE phash='-7018343765040592643'
Server configuration: Operating system: Ubuntu 10.04 amd64 Web server: apache2 (2.2.14-5ubuntu8.11) Database: mysql-server-5.1 (5.1.69-0ubuntu0.10.04.1) PHP version: php5 (5.3.2-1ubuntu4.19) ownCloud version 5.0.5
Client configuration: Client version: 1.2.5-0 Operating system: Linux Mint 14 Cinnamon (Ubuntu 12.10) on amd64 OS language: English Installation path of client: /usr/bin/owncloud
I've experienced similar behavior with my setup. When I can use the log window it reports the same disk I/O error. Only difference is that I've set following additional parameters to owncloud.cfg (reduces local file scans, hence inotify gives all necessary information about file system changes):
localPollInterval=3600000 remotePollInterval=120000
And I can use the client for several days without restarting it. This problem didn't exist with 1.2.4. It could be kept running for weeks without any real hiccup.
Server: Synology DS413 Web server: apache2 (2.2.23) PHP: php5 (5.3.21) Database: mysql (5.1.49) ownCloud: 5.0.5
Client: OS: Linux Mint Debian Edition (LMDE) on i386 OS language: English owncloud-client (1.2.5-0) libocsync0 (0.70.7-1)
Edit (2 May 2013): It occured last night but only for short period of time, the log from beginning to the end can be found from: http://pastebin.com/f8YeVrZR - none of the files in the log was changed at that time. But now the client does not take all of my CPU/RAM. Not sure if it restarted itself (yes, I run it from script that restarts the client when it crashes but quits when user desires to do so).
Same problem for me. Problems started with sync-client 1.2.5. I am on ArchLinux and Server ist a vServer running on Debian Squeeze wit dotdeb packages. I have sufficient disk space locally and remote.
Same here.
Server: Debian 7.0 x86_64 Web server: apache2 (2.2.22-13) PHP: php5 (5.4.4-14) Database: mysql (5.5.30) ownCloud: 5.0.5 libsqlite3-0 3.7.13-1+deb7u1
Client: OS: Debian 7.0 i686 OS language: Russian owncloud-client (1.2.5) libocsync0 (0.70.7-1)
This should be fixed in 1.3.0.