New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: High web app latency (notorious nextcloud issue) #33534
Comments
Hello @a-0-dev , |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
I can confirm the situation has not changed (for my installation) after upgrading to version 25.0.3. |
So is it improved for you and can we this close the issue? |
It is just as bad as it was before... It's not unbearable but definitely uncomfortable |
I see you dont have redis configured. Please follow https://docs.nextcloud.com/server/stable/admin_manual/installation/server_tuning.html in order to improve the situation. Apart from that you could try out https://github.com/nextcloud/all-in-one which should have all performance tuning out of the box. |
I used the server tuning manual to tweak my installation of course. It's still rather slow :/ My server environment does not allow me to use the all-in-one solution as I'm using a separate reverse proxy etc. |
That ahiuld not be a problem: https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md |
Ok, I will have a look at it when I have time. Not sure how easy it is to migrate from a longer-running instance to AIO, but we'll see. |
Still, I know a few people running a Nextcloud instance, the original issue here also got some thumbs up. I guess it's not solely an issue of my installation. I'm sorry I can't provide any more useful information as far as I know |
For migrating see this: https://github.com/nextcloud/all-in-one/blob/main/migration.md |
Hi there @szaimen, I'm also having slow loading time issues, but only for one particular user which has more than 100 folders in the main folder and ~300 GB of files. The other users function snappy as always, I was on 24.0.9 with the issue and updated to 25.0.3, the issue still persists. What could it be that really slow down the I switched on Redis on a Ubuntu Server installed through web installer (since I don't have access to command line) with PHP version 8.1, nothing changed with Redis switched on! |
Can we provide more of your browser console output (such as the Network tab with the Timeline column)?
Performance has many factors and there's always room for improvement. There are regular improvements occurring. See #39937 for a recent example. I don't think anyone involved in the project is going to take their eye off the idea of improving performance. It's a constant... battle/adventure! :) @DavideTedesco Your situation may have seen some enhancement in newer releases (NC27) or beta ones (NC27.1) and upcoming ones (NC28), but it's hard to tell with certainty. There have been a variety of PROPFIND and View related optimizations made. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug description
Latency of loading a nextcloud site is high, especially with the default "Files" app, which should be snappy. This is not only the case with my own installation, but also with some professionally hosted installations with way more resources.
I observed that before the "Files" app page loads (loading means, until the list of files is visible), many scripts and other files are being received. For me, the site was rendered and usable about the time the file "de.js?v=b17fbaab-0" was received (seemingly a translation file for some UI text for comments).
Before that, many other "unnecessary" things were loaded, including "/apps/dashboard" (which is very slow as an app as well), "user-status-menu.js", the nextcloud logo (which took 5s for whatever reason - and the rest of the site didn't render until it was received!) and many MANY more.
Steps to reproduce
Expected behavior
I would expect the site to load extremely quickly, and "side features", like the user status, notifications, file comments etc. being loaded after the "main feature", like a files list, was loaded.
Alternatively, I would expect the web apps to be very quick after the first click, so much more caching on the client side or even permanent storage.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: