Nextcloud version (eg, 20.0.5): Nextcloud 24.0.4
Operating system and version (eg, Ubuntu 20.04): Debian 11
Web server: nginx 1.18
PHP version: 7.4.30
The issue you are facing: The web interface is incredibly slow. It takes several minutes for the first Files page to load.
The server load is huge (typically around 4, in ‘top’ on a 2 CPU, 4GB RAM server). There are thousands of PROPFIND requests for nearly-empty directories that take over 1s of PHP processing time to serve, for example.
The output of your Nextcloud log in Admin > Logging: Can’t. This page times out!
config.php: it’s mostly stuff I don’t want to share or is of little value. I think relevant parts are:
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
),
Output errors in nextcloud.log: nothing of much interest there. Every 5 minutes someone whose account is disabled tries a PROPFIND which generates an exception, but nothing else.
There’s a dozen or so users using 3.4.2 of the sync client for Linux.
I will update the clients to 3.6 once that’s released, but want to skip the whole 3.5 branch as it has some bugs that will be particularly annoying for users (e.g. constantly having to re-auth; being unable to access the main/settings windows) - I believe these are fixed in 3.6.
There’s several hundred GB of data on it, but the staff using sync clients are asked to keep their in-sync files to just what they need, this is typically much less than 1GB each.
Staff are not creating/deleting/editing lots and lots of documents; i.e. the load does not seem to make sense for the use.
Any tips gratefully received!


