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
Slow uploads with HTTP/2 #25297
Comments
I see no improvement in disabling h2 and h2c. Apache 2.4.43 |
Is this Issue still valid in NC21.0.3? If not, please close this issue. Thanks! :) |
Unfortunately I can't test currently. Anybody else? |
Yes this is still an issue in nextcloud 22. 2MB/s with http2 40MB/s without http2. |
4MB/s with http2 |
When disabling http2, I'm getting three times the upload speeds: |
haarp commentedJan 23, 2021
•
edited
Loading
How to use GitHub
Summary
When HTTP/2 is enabled on the webserver, uploads are very slow, topping out at slightly over 1MByte/s, despite both client and server offering vastly more bandwidth. Once HTTP2 was disabled, upload speeds were improved by a factor of over x10.
All PHP/DB optimizations are in place, and more. The CPU load on server and client remains low, IO load on the DB and storage remains low. Issue is observed during large file uploads, so DB overhead isn't the issue.
This issue was observed by multiple people, e.g. here, here and here. It seems to affect both nginx and Apache.
Steps to reproduce
Expected behaviour
>10 Mbyte/s
Actual behaviour
1-2 Mbyte/s
Server configuration
Operating system: Debian Linux 10
Web server: Apache 2.4.38-3+deb10u4
Database: MariaDB 10.3.27-0+deb10u1
PHP version: PHP FPM-CGI 7.3.19-1~deb10u1
Nextcloud version: 19.0.7
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Included updater
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: -
Client software: Windows 10 WebClient service (Microsoft-WebDAV-MiniRedir/10.0.18363)
Operating system: Windows 10
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: