-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Nextcloud extreme Slow #15589
Comments
Could php-xdebug itself be the issue? Remove (not only disable) the entire package and try again. |
No. I installed it after the problem occurred. |
I've seen some reports from smb users about high cpu load. Mind to try https://github.com/eduardok/libsmbclient-php? |
The problem only occurs if the SMB share is unreachable. |
What behaviour would you expect when the smb share is unreachable? I guess we could lower (or make configurable) the timeout for smb connections ... |
In the last version, a banner was displayed in the upper area if a share was not available. But it was usable. But in version 16 nextcloud seems unusable until a certain timeout is reached. And this regardless of whether you are in the file browser, calendar or contacts. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@kesselb OMG thank you that solved my issue!! EDIT: I had to purge the smbclient package completely as well |
@gnilebein #16836 mind to try this patch? |
I tried. But nextcloud ist still very slow and the page load time ist very high when the mount is not available. |
Is the same happening with https://github.com/eduardok/libsmbclient-php? cc @blizzz @icewind1991 smb fun ;) Do you remember any changes to the timeout logic? Is this "storage not available" message gone? |
Yes it seems so. IIRC in earlier version the message "storage not available" appears. But now it seems that NC does not try to connect in background. It seems that the connection is blocking the complete process. |
@kesselb nope, contrary: with the php-smbclient module it should be handled now correctly, if it fais for auth issues. The best solution would be if the underyling lib would act in a consistent way, indepent of what way of talking to the SMB storage was used. |
I suppose this issue is still valid? If not, please close this issue! |
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. |
Steps to reproduce
Expected behaviour
Nextcloud should run with normal performance
Actual behaviour
The call is many times slower than expected. It sesems files_external is responsible for this (See Xdebug Infos)
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache 2.4
Database: MySQL 5.7
PHP version: 7.2 FPM
Nextcloud version: 16.0.1
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: tar.gz and Updater
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: SMB
Are you using encryption: no
Are you using an external user-backend, if yes which one: IMAP
Client configuration
Browser: Chrome
Operating system: Windows 10
Logs
Web server error log
Web server error log
``` No error in Log. Only Access logs. ```Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
XDEBUG Logs
Xdebug log
The text was updated successfully, but these errors were encountered: