Nextcloud Client takes a while to start

I’ve had a Nextcloud instance for about a year now and I was always wondering why the Nextcloud client on my workstation starts up so slowly, while it doesn’t even take a second on my laptop.

As it turns out, the problem was my local folder synchronisation setting. On my workstation the whole Documents folder is selected to sync, but only a few subfolders actually have synchronisation activated. On my laptop, each folder has it’s own synchronisation entry in the settings.
After using strace(1) to figure out what the problem might be, it was apparent that the client was scanning folders that aren’t even selected for synchronisation. In addition, it looks like it struggles a lot with small files, and having a bunch of git repositories in there didn’t really help.

Removing the large amount of small files was enough to make it faster, but it’s clear that the ideal way to solve this is to set up a connection for each folder separately, which is what I’ll do in the future.

Do you have a comment on one of my posts? Feel free to send me an E-Mail: witcher@wiredspace.de
To participate in a public discussion, use my public inbox: ~witcher/public-inbox@lists.sr.ht (Archive)
Please review the mail etiquette.

Posted on: January 29, 2023

Articles from blogs I read

Alpine 3.24.1 released

Alpine 3.24.1 released

via Alpine Linux News June 13, 2026

syslogd(8) privileged and non-privileged parts now separate binaries

In OpenBSD, the syslogd(8) system logger has already for a while now fork(2)ed the privileged from the non-privileged parts. Now Alexander Bluhm (bluhm@) decided it's time to split these parts into separate binaries in order to provide even better sep…

via OpenBSD Journal June 12, 2026

Introducing µlock

Last weekend I sat down and set into code a project that has been living in my head rent-free for some time: µlock (a.k.a: ulock). ulock is a minimal Wayland screen-locker, designed to work without relying on any setuid binary on Linux. This is done by relyi…

via Hugo's weblog on WhyNotHugo (雨果) June 6, 2026

Generated by openring