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

hakutoitoi nginx-forum at nginx.us
Mon Oct 18 19:29:46 MSD 2010


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?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,141795,141922#msg-141922




More information about the nginx mailing list