Welcome! Log In Create A New Profile

Advanced

RE: Problem with http2 huge load average

Lukas Tribus
November 06, 2015 03:24AM
> Yes I know,
> but it's very strange situation that can't understand. Code is the same,
> nothing is changed. Only nginx version and http2 support on host.

nginx 1.9.5 has a bug (#800): $server_protocol is empty on HTTP2.
This is fixed in nginx 1.9.6, so with 1.9.6 PHP/FCGI for
the first time sees HTTP/2.0 as SERVER_PROTOCOL.

You can probably reproduce the problem in 1.9.5 if set it manually:
fastcgi_param  SERVER_PROTOCOL    HTTP/2.0;

Or workaround it in 1.9.6 if reset:
fastcgi_param  SERVER_PROTOCOL    HTTP/1.1;


In the end, you have to fix your PHP code.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problem with http2 huge load average

hristoc November 04, 2015 05:08AM

Re: Problem with http2 huge load average

Valentin V. Bartenev November 05, 2015 06:32AM

Re: Problem with http2 huge load average

hristoc November 05, 2015 12:08PM

Re: Problem with http2 huge load average

Valentin V. Bartenev November 05, 2015 12:14PM

Re: Problem with http2 huge load average

hristoc November 06, 2015 01:33AM

RE: Problem with http2 huge load average

Lukas Tribus November 06, 2015 03:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 327
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready