multiple worker processes (problem or normal?)

Igor Sysoev igor at sysoev.ru
Tue Jun 7 21:53:20 MSD 2011


On Tue, Jun 07, 2011 at 10:45:13AM -0700, Zhu Qun-Ying wrote:
> Hi,
> 
> When testing nginx 1.0.4, I found the error message from error.log:
> 
> 2011/06/07 10:36:29 [debug] 10939#0: timer delta: 501
> 2011/06/07 10:36:29 [debug] 10939#0: posted events 00000000
> 2011/06/07 10:36:29 [debug] 10939#0: worker cycle
> 2011/06/07 10:36:29 [debug] 10939#0: accept mutex lock failed: 0
> 2011/06/07 10:36:29 [debug] 10939#0: epoll timer: 500
> 2011/06/07 10:36:29 [debug] 10939#0: timer delta: 500
> 2011/06/07 10:36:29 [debug] 10939#0: posted events 00000000
> 2011/06/07 10:36:29 [debug] 10939#0: worker cycle
> 2011/06/07 10:36:29 [debug] 10939#0: accept mutex lock failed: 0
> 2011/06/07 10:36:29 [debug] 10939#0: epoll timer: 500
> 2011/06/07 10:36:30 [debug] 10939#0: timer delta: 501
> 2011/06/07 10:36:30 [debug] 10939#0: posted events 00000000
> 2011/06/07 10:36:30 [debug] 10939#0: worker cycle
> 2011/06/07 10:36:30 [debug] 10939#0: accept mutex lock failed: 0
> 2011/06/07 10:36:30 [debug] 10939#0: epoll timer: 500
> 2011/06/07 10:36:30 [debug] 10939#0: timer delta: 501
> 2011/06/07 10:36:30 [debug] 10939#0: posted events 00000000
> 2011/06/07 10:36:30 [debug] 10939#0: worker cycle
> 2011/06/07 10:36:30 [debug] 10939#0: accept mutex lock failed: 0
> 2011/06/07 10:36:30 [debug] 10939#0: epoll timer: 500
> 2011/06/07 10:36:31 [debug] 10939#0: timer delta: 500
> 
> It keeps repeating itself every half a second trying to acquired the  
> accept lock.
>    Does it normal?

Yes.


-- 
Igor Sysoev



More information about the nginx-devel mailing list