core icon indicating copy to clipboard operation
core copied to clipboard

Owncloud causes MySQL to use all disk resources.

Open diabolic8733 opened this issue 12 years ago • 5 comments

Owncloud is polling the database repetitively even when nothing is being done on the user side, causing the MySQL database to consume full disk IO. I am running on a Windows Server with Apache as my web server.

diabolic8733 avatar Dec 14 '13 18:12 diabolic8733

@ringmaster can you please have a look ?

PVince81 avatar Dec 16 '13 11:12 PVince81

Sorry, this doesn't happen for me at all. When I leave the UI connected, it polls the server periodically (heartbeat), but even then there is minimal MySQL load. When I push the server, it's usually Apache or IIS that has most of the load, not MySQL, whose load is quite minimal. Maybe some more details about anything unique/different in this install could prove out what might be causing it, but based only on the above, it could be anything from an odd configuration to lack of memory to bad HDD.

ringmaster avatar Dec 16 '13 21:12 ringmaster

I found the table, oc_file_map is being written to for 5 seconds after each folder request and is causing large load on the MySQL server. Is there any way to rectify this?

diabolic8733 avatar Dec 17 '13 04:12 diabolic8733

Maybe https://github.com/owncloud/core/issues/6553 ?

windaishi avatar Jan 08 '14 17:01 windaishi

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please open a new issue if you still encounter this problem with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Jul 16 '14 15:07 jancborchardt