Welcome! Log In Create A New Profile

Advanced

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

October 18, 2010 12:16PM
On Mon, Oct 18, 2010 at 11:29:46AM -0400, hakutoitoi wrote:

> 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?

Probably, you mixed up:

configure with --with-http_perl_module
kqueue
configure without --with-http_perl_module
select

It seems that you use perl code that works with remote servers or databases
and this select is called by some perl module.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
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: 252
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