Welcome! Log In Create A New Profile

Advanced

nginx hogs cpu on Windows

All files from this thread

File Name File Size   Posted by Date  
iljklloohhfepabk.png 24.6 KB open | download Igal @ Lucee.org 06/12/2017 Read message
lpnfjlalclenfpio.png 35.2 KB open | download Igal @ Lucee.org 06/12/2017 Read message
jhmofmnifkhphgbh.png 23.6 KB open | download Igal @ Lucee.org 06/12/2017 Read message
iljklloohhfepabk.png 24.6 KB open | download Igal @ Lucee.org 06/13/2017 Read message
lpnfjlalclenfpio.png 35.2 KB open | download Igal @ Lucee.org 06/13/2017 Read message
jhmofmnifkhphgbh.png 23.6 KB open | download Igal @ Lucee.org 06/13/2017 Read message
Igal @ Lucee.org
June 12, 2017 06:40PM
Hello,

I've noticed a few times already that after running for some time nginx
hogs a CPU thread. The machine has 8 CPU threads, so when the problem
happens I see in Task Manager that nginx takes 12% or 13% (consistent
with a full 1/8 of CPU power).

Issuing a reload fixes the problem temporarily.

c:\>nginx.exe -V
nginx version: nginx/1.13.1
built by cl 16.00.40219.01 for 80x86
built with OpenSSL 1.0.2l 25 May 2017
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug
--prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid
--http-log-path=logs/access.log --error-log-path=logs/error.log
--sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp
--http-proxy-temp-path=temp/proxy_temp
--http-fastcgi-temp-path=temp/fastcgi_temp
--http-scgi-temp-path=temp/scgi_temp
--http-uwsgi-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024
--with-pcre=objs.msvc8/lib/pcre-8.40
--with-zlib=objs.msvc8/lib/zlib-1.2.11 --with-select_module
--with-http_v2_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module
--with-http_dav_module --with-http_stub_status_module
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module --with-http_auth_request_module
--with-http_random_index_module --with-http_secure_link_module
--with-http_slice_module --with-mail --with-stream
--with-openssl=objs.msvc8/lib/openssl-1.0.2l --with-openssl-opt=no-asm
--with-http_ssl_module --with-mail_ssl_module --with-stream_ssl_module

Task Manager Performance when problem takes place:

Task Manager Processes when problem takes place:

Task Manager Performance after issuing reload:

Looks like there is a bug somewhere. I wonder if it is limited to
Windows or if it's on all distributions.

Thank you,


Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - iljklloohhfepabk.png (24.6 KB)
open | download - lpnfjlalclenfpio.png (35.2 KB)
open | download - jhmofmnifkhphgbh.png (23.6 KB)
Subject Author Posted

nginx hogs cpu on Windows Attachments

Igal @ Lucee.org June 12, 2017 06:40PM

Re: nginx hogs cpu on Windows Attachments

Igal @ Lucee.org June 13, 2017 06:14PM

Re: nginx hogs cpu on Windows

Maxim Dounin June 14, 2017 02:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 202
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