The same behaviour.
Kubuntu 24.04 x86_64. Server NC AIO (NC Hub 8 (29.0.2). Synced 115 thousand files, 530 GB.
With original Ubuntu Nexctloud team PPA: 100 % single CPU core all the time, NC icon non-responsive for cca 7 - 10 seconds after clicking.
Then I did complete clean up ($HOME/.config/Nextcloud, $HOME/.local/share/Nextcloud, and the Nexcloud docs dir itself), purged everything related to nexctloud* from apt packages.
Now, I am using NC desktop client AppImage (v 3.13.2). The behaviour is similar, just a tight bit better:
- For cca 15 seconds: CPU 100 %, icon notification says âPreparing for syncâ, icon or âNextcloud settings windowâ are non-responsive to mouse click (it takes cca 7 seconds to get a visual feedback on click).
- For cca 5 seconds: CPU less than 5 %, icon notification says âLast sync successfullâ, icon and âNextcloud settings windowâ behave normally with prompt responses.
- And repeatâŚ
Letâs copy some files to the Nexcloud directory - 125 photos, 400 MB:
- Once NC starts syncing to server, the CPU is about 30 % only.
- NC icon and âNC Settings windowâ is normally responding.
- After sync is complete, NC takes 100 % of CPU core again as per above.
Although it seems that AppImage behaves slightly better, the outcome is the same: one CPU core is fully dedicated to NC almost all the time when âlooking for changesââŚ
Note: When Nextcloud consumes 100 % CPU, iotop
shows DISK WRITE for cca 3 MB/s with occassional spikes of cca 8 MB/s:
Total DISK READ: 0,00 B/s â â â â â â â â â â â â â â â | Total DISK WRITE: 3,43 M/s âŁâĄâŁâŁ ⣸âŁâŁ ⣰⣠⣴⣰⣞⣧âŁâ
Current DISK READ: 0,00 B/s â â â â â â â â â â â â â â â | Current DISK WRITE: 3,60 K/s âĄâ˘âŁâ˘°âĄâ˘âĄâ˘âŁâĄâ˘ âĄâŁ¸â â
TID PRIO USER DISK READ DISK WRITE GRAPH[R+W]â˝ COMMAND [T](16:44:24)
34390 !be/4 milni 0,00 B/s 3,12 M/s âŁâĄâŁâŁ ⣰âŁâŁ ⣠⣠⣰⣰⣞⣧âĄâ âNextcloud-3.13.2-x86_64.AppImage
34397 be/4 milni 0,00 B/s 0,00 B/s â â â â â â â â â â â â â â â âNextcloud-3.13.2-x86_64.AppImage â
34398 be/4 milni 0,00 B/s 0,00 B/s â â â â â â â â â â â â â â â âNextcloud-3.13.2-x86_64.AppImage â
34399 be/7 milni 0,00 B/s 0,00 B/s â â â â â â â â â â â â â â â âNextcloud-3.13.2-x86_64.AppImage
... cut on purpose ...
EDIT: I ran strace -p PID
on Nextcloud and while NC is âbusy 100 %â, it shows (among other info) a file name within my Nexctloud dir followed by the NC db file ($HOME/Nexctloud/.sync_XXXXXX.db) then another file of my Nextcloud dir followed by NC db, etc⌠I do not really understand the iotop
âs WRITE activity - as inotifywait
does not see anything apart from NCâs db file update after each scan cycle.
I have seen a similar behaviour with MS OneDrive sync client - the higher number of the synced files, the less responsive the computer became. Cca 3 years ago, the OneDrive was completely unusable for more than 50 thousand files - CPU 100 % all threads, nothing responsive at all