Skip to content
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 file upload with HTTP/2 #30464

Closed
ZWC-father opened this issue Jan 2, 2022 · 1 comment
Closed

Slow file upload with HTTP/2 #30464

ZWC-father opened this issue Jan 2, 2022 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@ZWC-father
Copy link

ZWC-father commented Jan 2, 2022

Slow file upload when I enable HTTP/2.

Only 2 mb/s,
When I disable http/2, it will be much faster than before (25mb/s).
It seems that many people face the same problem.
Both apache and nginx are very slow with http/2.
I have tried NC19 , NC22 and NC23, but it makes no changes at all.

Operating system: Ubuntu20.04
Web server: Nginx1.21.5 or apache 2.4.43
Database: mysql8.0
PHP version: php7.4.3 with opcache and APCu
Nextcloud version: 23.0.0
Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Nginx configuration:

listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cloud.example.com;

ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;

client_max_body_size 10240M;
client_body_timeout 3600s;
fastcgi_buffers 64 4K;

......
@ZWC-father ZWC-father added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 2, 2022
@solracsf
Copy link
Member

solracsf commented Jan 2, 2022

Duplicate of nextcloud/documentation#9578

@solracsf solracsf closed this as completed Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants