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
Bad performance of the files app when accessing external file systems #24641
Comments
I am also able to reproduce the slowdown under NC 19.0.6. |
I can also reproduce this with an big (1.8 TB) external Nextcloud share. The folder I move this share into slows down to ~20 sec load time. Folders without this share load in under 1 sec. |
I suppose this is still valid on NC21.0.2? |
Yes, loading of my Nextcloud root which contains 13 folders still lasts 13 seconds on NC 21.0.2. |
We have installed a new instance of NC21.0.2 on a VPS with 16Gb, 6 CPU and SSD disk. The user experience is poor and feels sluggish. Navigating between pages take few seconds to load. On average between 3 to 10 seconds. This is with redis cache for both "distributed" and "locking". For "Local" caching, we use "APCu". There seem to be numerous report of performance issues. As we are new to Nexcloud, we dont have previous metrics to compare with version 21.0.2. What is the "accepted" page loading time? Is 3 to 10 seconds loading time expected with NextCloud? Thanks |
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+ |
Current behavior
I’ve just updated my server from Nextcloud v20.0.2 to v20.0.3 which works without any problems. After I’ve logged in to the server again I realized a really bad performance of the files app. Loading the initial list of folders lasts around 18-19 seconds now compared to 2-3 seconds before. Navigating through sub directories is still working with the same performance as before. All other apps are also still working with the expected performance except the files app.
I’ve checked the list of activated apps and tried to disable all the apps related to file handling. I found out that the Files_external app seems to be responsible for the slow loading of the files app. As soon as I deactivated the app, the general performance was back to normal.
I’m currently mounting 7 personal WebDAV shares from a NAS and 1 personal FTP share, which hasn’t been a problem in past concerning the performance. The Nextcloud log file doesn’t contain any related error message which might shed some light on the root cause of the problem. So I ran further tests of the Files_external app by removing all external shares and re-adding them one-by-one. Here are the results (time measured manually 😉):
Due to the fact that mounting the WebDAV share which contains e-books, increases the load time by 3,55 seconds, I disabled the EPUB/CBZ/PDF ebook reader app v1.4.5 which had the following effect on the result:
Due to the fact that mounting the WebDAV share which contains music, increases the load time by 4 seconds, I disabled the Audio Player app v1.4.5 which had the following effect on the result:
My conclusions about what is happening on opening the files app:
Link to the thread in the Nextcloud help forum: https://help.nextcloud.com/t/nc-20-0-3-bad-performance-of-the-files-app/100782
Environment
Server Configuration
OS: Linux 4.9.220
Web server: Apache2 2.4.46
Database: MariaDB 10.2.24
PHP version: 7.4.11
Nextcloud version: 20.0.3
Client Configuration
Browser: Mozilla Firefox 83.0
Operating system: Windows 10
The text was updated successfully, but these errors were encountered: