October 18, 2010 11:29AM
Igor,
Thank you for your advice.

I wanted to use kqueue and have configured using kqueue settings.
/usr/local/conf/nginx/nginx.conf
[code]
events {
worker_connections 1024;
use kqueue;
multi_accept off;
}
[/code]

error log outputs using kqueue event method.
/usr/local/logs/nginx/error
[code]
2010/10/18 20:48:32 [notice] 77055#0: using the "kqueue" event method
2010/10/18 20:48:32 [notice] 77055#0: nginx/0.7.67
[/code]

but, I also use Embedded Perl module.
[code]
./configure --with-http_perl_module
[/code]


configure with --with-http_perl_module
[code]
$ top
69650 nginx 1 4 0 2044K 1540K kqread 0 0:00 0.00% nginx
[/code]

configure without --with-http_perl_module
[code]
$ top
77061 nginx 1 96 0 3828K 2124K select 0 0:00 0.00% nginx
[/code]

as long as I use the Embedded Perl module, I can't fix this problem?
Subject Author Posted

nginx causes cpu burst problem when it is received USR1 signal by logrotate script

hakutoitoi October 18, 2010 03:54AM

Re: nginx causes cpu burst problem when it is received USR1 signal by logrotate script

Igor Sysoev October 18, 2010 05:10AM

Re: nginx causes cpu burst problem when it is received USR1 signal by logrotate script

hakutoitoi October 18, 2010 11:29AM

Re: nginx causes cpu burst problem when it is received USR1 signal by logrotate script

Igor Sysoev October 18, 2010 12:16PM

Re: nginx causes cpu burst problem when it is received USR1 signal by logrotate script

hakutoitoi October 18, 2010 10:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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