owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 665 forks source link

Recurring 100% CPU usage of Windows client #1572

Closed loki12345 closed 10 years ago

loki12345 commented 10 years ago

Hi,

I was quite happy with the windows sync client when we were sharing just a few files.

But the client uses periodically 100% of one CPU core since I recently added our ebooks/manual folder with (11.000 files in 3000 dirs, about 2 GB). It lasts up to 2 minutes. No files were opened or touched since the initial sync.

ownCloud client for Windows 1.5.3 Windows 7 pro 64bit / German

thanks!

muetze-online commented 10 years ago

I sync 6 folders (with subfolders) with 450.000 files (160 GB). 100 % CPU load on one core of a dualcore MacBook or an 8-core iMac last for hours, even when all changed files have been synced.

I use Mac OS Mavericks, DesktopClient 1.5.3 and OC 6.0.2.

Trim commented 10 years ago

I've too 2GB of files (with a lot of small files) and I've same issue on Debian Sid with Desktop Client 1.5.3 and OC 6.0.1 (I've noticed it too with older versions).

When I run the client from command line, it seems that every time I run again it, it checks all files by hashing them. I expected from a such client to ask the server if files I've been updated instead of manually checking every files (even more : it seems not always correctly working, because it detects some modifications on since-years-backuped files and download 0 octect to update them).

So instead of hashing every file every period of time, I think it will be better to ask server every period of times if some files were updated and hashing them to check their state on this machine.

Some developer can confirm the way the desktop client synchronize files ? and that it could be an issue on a huge number of small files ?

Trim commented 10 years ago

It seems to be a duplication of bug #1500

loki12345 commented 10 years ago

I saw #1500 but it was stated there that it was an OSX threat.

loki12345 commented 10 years ago

@Trim I experienced the same issue with Arch Linux (But I am using gnome’s cloud features so I am usually not affected)

Maybe all 100% CPU usages bugs should be merged to a OS independent bug

scopelemanuele commented 10 years ago

Hi, I have the same issue on Arch linux and xfce and approximately 2GB of files. The problem persist in idle and not in syncing. owncloud client 1.5.3.3, ocsync 0.91.5, Qt 4.8.5, OC 6.0.2 I'm Sorry for my bad english

dadad commented 10 years ago

The same here. Running client 1.5.0 based on package: owncloud-client 1.5.0+dfsg-4ubuntu1.

One core takes 100% of CPU resources and never goes down, no matter how long you wait for it to stop. This happens even when no files have been changed and sync is 100% done.

xolom commented 10 years ago

same for me on 1.5.4. No matter if i'm on Windows or Mac. Sync takes 100% CPU load.. and it syncs when no file has changed. It takes my battery down like no other program. Please fix.. i also had this behavior with earlier releases

ronlaws commented 10 years ago

I'm having the same issue server side, loading pages in the browser causes both apache and nginx to fly up to 100% CPU with version 6.0.3, installing php optimizers/caching had no effect at all and this in a lot of cases totally cripples my server. please acknowledge and fix this bug/lack of optimization/proper coding because it's incredibly frustrating!

dragotin commented 10 years ago

This is a duplicate of #1832