-
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
Thousands of PROPFIND requests even the client was fully synced, results in redownloading all files #6543
Comments
I see the similar behaviour. My server is Debian 7 (@raspberrypi; owncloud 6.0.0) and with Debian 7 Client (owncloud 1.5) and Max OSX Client (owncloud 1.5). I see also PROPFIND requests for every directory but I don't see re-downloading. Before updating from client 1.4 and server 4.5 there was only one PROPFIND request for folder I sync with owncloud. I left one client switch on for two days but the PROPFIND requests stayed constant (I assumed after one complete cycle everything will be back to normal. The "annoying" thing is indeed the high server load and that other files are not synced while owncloud client is "waiting for next sync run to start" (that's what the mouse over help displays for the tray icon) by sending the PROFIND requests. |
From my understanding, the desktop sync client should only do a PROPFIND on the base folder to check its etag to find out whether there were changes. No idea why it would decide to explore the whole tree unless there are etag discrepancies. |
I am also seeing lots of PROPFIND on green "finished" own cloud mac os client but it is probably not redownloading. Each PROPFIND causes lots of MySQL queries though. I think it started doing that after I restored my client HDD from backup. But all files are on the client, complete, with writable permissions. Any way to stop it doing it? owncloud 6.0.1 (stable), latest Mac client. |
Any news on this issue? Experiencing similar problems with OC 6.0.3 + Encryption App and latest Mac client |
I have the same problem on Mac with latest client (1.6.1) and latest 7.0 beta 1. I get flooded of PROPFIND, returning all of them a 207. |
Just for reference: https://github.com/owncloud/mirall/blob/master/doc/conffile.rst (check I have changed my owncloud to 600000 ms (10 minutes and see if that works) |
I think mirall does not check correctly the file:
|
Ok, got it working (I needed to read the documentation of QSettings and blah blah): By default, If you want to change it, just go to the file specified in https://github.com/owncloud/mirall/blob/master/doc/conffile.rst and add a
So now, it is asking for changes each 10 minutes instead of 30 seconds, which is way better for downstream :) |
But I still got the root asked each 30 seconds…
|
Closing this, the upcoming 1.8 client has improvements on when to start a sync. |
Circumstances
I synced about 178 GB of data in 58,015 files in 5,170 directories.
The client has finished the upload completely and all files are available online via webinterface.
Expected behaviour
When restarting the client, it should take only some second or minutes until the client is ready. It should not redownload the existing files.
Actual behaviour
It takes a couple of minutes until the local files were scanned. Then the client sends thousands of PROPFIND request to the webserver, one for each directory causing heavy load on the webserver. When finished (after about an hour) the clients starts to download all files, all 178GB of data
Steps to reproduce
(Worked several times on my system)
Server configuration
Operating system: Windows Server 2003
Web server: Apache/2.2.26
Database: MySQL 5.5.25
PHP version: 5.4.22
ownCloud version: ownCloud 6.0.0a (stable)
Updated from an older ownCloud or fresh install: Fresh Install
List of activated app:
Activity
Calendar
Contacts
Deleted files
Documents
First Run Wizard
Full Text Search
ownCloud dependencies info
PDF Viewer
Pictures
Share Files
Text Editor
Updater
Versions
The content of config/config.php: (Without the database password and passwordsalt)
Are you using external storage, if yes which one: No
Client configuration
Browser: N/A
Operating system: Windows 7 x64
Sync Client: 1.5
Logs
Web access log
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: