Problem with http2 huge load average

hristoc nginx-forum at nginx.us
Wed Nov 4 10:08:49 UTC 2015


Hello,

Im using nginx:

nginx version: nginx/1.9.6
built with OpenSSL 1.0.1p 9 Jul 2015
TLS SNI support enabled
configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx --user=nobody --group=nogroup
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --with-ipv6 --with-threads
--with-select_module --with-poll_module --with-http_ssl_module
--with-http_realip_module --with-http_addition_module
--with-http_xslt_module --with-http_sub_module --with-http_dav_module
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module
--with-http_v2_module --with-http_gzip_static_module
--with-http_random_index_module --with-http_secure_link_module
--with-http_stub_status_module --with-http_geoip_module
--with-http_auth_request_module --with-http_perl_module
--with-perl_modules_path=
--http-client-body-temp-path=/var/tmp/nginx_client_body_temp
--http-proxy-temp-path=/var/tmp/nginx_proxy_temp
--http-fastcgi-temp-path=/dev/shm --with-http_realip_module
--without-mail_pop3_module --without-mail_imap_module
--without-mail_smtp_module


on Slackware 14- current :
Linux 123 4.1.12 #2 SMP Wed Oct 28 14:19:14 CDT 2015 x86_64 Intel(R) Xeon(R)
CPU           E5420  @ 2.50GHz GenuineIntel GNU/Linux


I use it wtih php: PHP 5.6.15 (cli) (built: Nov  2 2015 09:35:45) as php-fpm
with 32 threads.

When I start nginx with http2 enabled on port 443:
server {
    listen       443 ssl http2;

, after a minute my load average jump to 32.50. When I switch off http2 load
averege after a few seconds drop to 0.30.

This probably is a bug but any solution? I can give more info if is needed.

Regards,

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262594,262594#msg-262594



More information about the nginx mailing list