-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Performance issues with WebDav (remote.php) #7964
Comments
It looks like nextcloud does alot of stuff in the background, when the actually 'upload' is done. Why does the action after uploading a ~500mb file take multiple minutes? |
Well check the Disk IO, after the upload is "finished" the uploaded chunks need to be assembled to the complete file again. |
Correct, the nginx worker writes with 1.500kb to the disk after the upload. Does Nextcloud have to wait for this operation? Can't it be done in the background, asynchronously? |
Sadly not, otherwise the request can't return with a success code (Something like "Created"), but this is required by webdav. We would need to say: "yes we received it, but it is in an intermediate state", which is not available in webdav :/ So this needs to be done synchronously. Sorry for the bad news here. |
Steps to reproduce
Big file:
Small files:
Expected behaviour
Big file:
Upload of the file shouldn't hang at the last 1% of the upload.
Small files:
Moving and uploading should be quick and not with a pause between every file
Actual behaviour
Big file:
Upload hangs at 99% for a couple of minutes, then it finishes or produces an error "Element not found".
First 99% upload speed is at about 200mb/s and done in about 10 seconds.
Small files:
Upload and moving takes ages.
Server configuration
Operating system:
Debian 8.10 as Host, Alpine Linux Docker image with nextcloud.
MySql is hosted by Host.
Web server:
Nginx 1.12.2-rl
Database:
MySQL 5.5.58
PHP version:
7.1.9
Nextcloud version: (see Nextcloud admin page)
12.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
Docker image from linuxserver.io
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser:
Using WebDav.
Operating system:
Windows 10
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: