// troubleshooting guide · owncloud
Why Is ownCloud Sync So Slow With Many Small Files?
- Status
- Ongoing
- platforms:
- Windows, macOS, Linux; self-hosted servers
- updated:
- November 16, 2026
- reports:
- 4
- Method
- how we research
RUNBOOK · owncloud/slow-sync-many-small-files4 FIXES
// quick answer
Each file is a separate request with database and lock work on a Classic server. Add Redis for locking and caching, tune the database, use SSDs and split huge folders; Infinite Scale or Seafile handle this better.
Most likely fix: Add caching and Redis locking
How to fix it
// try these in order, the most common fix is first
FIX 1Add caching and Redis locking
- 01Set memcache.local to APCu
- 02Set memcache.locking to Redis in config.php
- 03Restart PHP-FPM
Did this fix it?FIX 2Tune the database and storage
- 01Increase the InnoDB buffer pool
- 02Move the data directory and database to SSDs
Did this fix it?FIX 3Split the sync
- 01Use selective sync to add very large folders in batches
- 02Exclude build output, node_modules and caches
Did this fix it?FIX 4Consider Infinite Scale
- 01oCIS has no database and handles metadata on the filesystem; test it for large file counts
Did this fix it?
Symptoms
Syncing tens of thousands of small files takes hours, the client sits at 'looking for changes', and server CPU spikes.
Why it happens
- C-01No memory cache (APCu/Redis) and locking in the database
- C-02Untuned MySQL/MariaDB on spinning disks
- C-03Very large folders forcing long discovery
- C-04Antivirus scanning each new file on the client
// this guide also covers
- owncloud sync slow
- why is owncloud so slow
- owncloud many small files
- owncloud looking for changes
Still not working?
If ownCloud keeps failing, you're not alone. See every ownCloud problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Nextcloud Desktop Client Sync Slow (Nextcloud)
Seafile Client Not Syncing (Seafile)
Syncthing Not Syncing (Syncthing)
Dropbox Not Syncing (Dropbox)
Tresorit Not Syncing Files (Tresorit)
Other ownCloud errors
- ownCloud Desktop Client Not Syncing
- ownCloud Desktop App 7 Not Connecting to ownCloud Server
- ownCloud File Is Locked (Server Replied 423 Locked)
- ownCloud Access Through Untrusted Domain Error
- ownCloud Large File Upload Fails (413 Request Entity Too Large)
- ownCloud Stuck in Maintenance Mode After Update
- ownCloud Integrity Check Failed (Some Files Have Not Passed)
- ownCloud Unable to Open or Create the Local Sync Database