-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An exception occurred while executing 'UPDATE oc_filecache', General Error #12591
Comments
Also, my mysql-slow.log is spamming this.
|
Are you using external storage ? It almost looks like it's detecting changes on disk and updating the cache. |
Do you have symlinks in the "data" dir or an external storage that have some, with a possible infinite loop ? |
the client responsible seemed to be of version 1.6.1. |
I have now updated the client of the user from 1.6.1 to 1.7.0, and i've emptied the trash from that user. |
It seems to have stabilized for now. what should we do, keep this ticket open in case it returns ? or should i then reopen it ? |
same problem here with 7.0.4 - I am having the same amount of SQL queries in the processlist. Problem indeed starts with WebDAV uploads. So the amount and content of SQL queries is the same.
no symlinks, client 1.7.0 - problem does not seem to start via client but via webdav. no access outside of the data dir and no external storage. |
I Have the same problem again. temp fix for us is, stop apache. restart mysql, start apache. |
With emptied trashbin of my user that had it full, the problem was gone for this morning - but the newest comment of frankuit does not sound well. |
correct, i confirm that i can (temporarily) fix the problem by emptying the trashbin of the user. |
Today, this problem is occuring again. and it's really wreaking havoc on my mysql server. Thanks, |
@schiesbn can you have a look at the SQL query from #12591 (comment) ? It might be a clue to figure out what is happening. |
@frankuit Which apps do you have enabled? |
@schiesbn Can you have a look? Maybe related to files_trash |
@karlitschek Sorry for the late reply, was on vacation, i have: Deleted files 0.6.2 |
Starting with OC 8.1, the trashbin expiration logic will be run in a background job. So it should hopefully not spam the database / logs that often. |
Possibly related to concurrent scanner processes: #16584 I'm closing this as duplicate of #16584. Hopefully locking can be implemented to prevent two scanners to scan the same folder at the same time. Also, as stated above, in 8.1 the trashbin expiration will happen in a background job, which should hopefully (in the short term) reduce the number of occurrences. |
I'd also recommend you to upgrade to 8.0.3. |
Hi Guys,
Since i upgraded to 7.03 last month, the load on my Mysql server seems to be increasing to a point of error.
First, i noticed the load on my mysql server increasing, and a couple of queries taking longer then they should.
in phpmyadmin i see:
it runs for very long, about 50 seconds, and after that, it bails out giving the error below.
I've tried increasing the general timeout value in mysql:
but then the processes stack up until there are (almost) no recources available.
i've tracked the files down in this message, and it belongs to a user who has about 6500 files in his trashbin.
Retention was at 30 days, I've lowered it to 7, to see if that helps, but it deletes only 1 file every 10 seconds or so, so that will take weeks...
I had to restart the mysql server twice now to prevent bigger problems.
Any hints please ?
Server configuration
Operating system:
Debian wheezy 64 bit
Web server:
Apache2 (latest version of Debian)
Database:
Server version: 5.5.40-0+wheezy1-log (Debian)
PHP version:
5.4.35-0+deb7u2
ownCloud version: (see ownCloud admin page)
owncloud 7.0.3-1
Updated from an older ownCloud or fresh install:
Updated using dpkg as always.
The text was updated successfully, but these errors were encountered: