I have a strange issue with my self hosted nextcloud instance:
All works fine, but I have two users who report huge issues with speed when accessing that nextcloud. Two independent effects apparently:
- the WebUI takes ages to load for each single view
- file downloads are extremely slow
Note that this is not an issue for other users, but just those two.
I did a bit of analyzing the situation:
- Not caused by their network connection, the issue persists when they change to another network (another country)
- Not caused by a specific system (both users use MS-Windows, but there are other users using that as well without the same issues)
- Not an issue of a specific browser, Firefox and Chrome show the same issue for those two users
- Nothing of interest in the log files written by nextcloud itself or by the http server or the mysql server I use.
- No load on the system during the requests in question.
- The issue is reproduceable.
Debugging the first issue (slow WebUI) showed that the resource "core-common.js" takes 40 seconds to load. For each page or each refresh when disabling the local cache. On the server side it looks like that file is created again and again for each request, although it is actually cached on the server side: for other users it is taken from the server side cache (<0.2 seconds), for those two users it is apparently recreated again and again. I fail to understand the cause of that behavior.
A closer look at the second issue (slow file download) did not reveal anything of interest. I see no difference in the requests between those two users and other users, request and response headers are identical.
Does anyone have a clue? Can anyone offer a hint? I am at a loss currently ...