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

Miod talks about HP/PA boot blocks

Veteran OpenBSD developer Miod Vallat (miod@) has written another deep dive article on porting our favorite operating system to a new platform and maintaining the code, this time the OpenBSD/hppa platform. The piece titled The scariest boot loader code cer…

via OpenBSD Journal December 31, 2025

Where to sleep in LAX

My 11:30 pm connecting flight out of Los Angeles International Airport was delayed by 24 hours, forcing me to rest in the airport. All my bags were checked, so I had no luggage or spare clothes available. Here's where I tried sleeping and how it went.…

via Cadence's Weblog December 30, 2025

Shrinking my Matrix (Synapse) database

During my routine backup procedures I wanted to investigate why the Synapse database dump was so big (about 740 MiB), for a Matrix server instance basically used just by me and a few acquaintances. Little I knew that I would dive into a rabbit hole. Assist…

via Waldeinsamkeit December 27, 2025

Generated by openring