nginx worker process wont start

Igor Sysoev is at rambler-co.ru
Wed May 21 19:23:45 MSD 2008


On Wed, May 21, 2008 at 08:04:21AM -0700, rkmr.em at gmail.com wrote:

> i get this error and it fails to start, i have 8GB free ram
> 
> 2008/05/21 08:02:19 [emerg] 30558#0: setuid(500) failed (11: Resource
> temporarily unavailable)
> 2008/05/21 08:02:19 [alert] 30557#0: worker process 30558 exited with
> fatal code 2 and can not be respawn
> 
> 
> free -m
>              total       used       free     shared    buffers     cached
> Mem:         16086       7796       8289          0         80       4697
> -/+ buffers/cache:       3018      13068
> Swap:         1983          0       1983

http://linux.die.net/man/2/setuid

EAGAIN
    The uid does not match the current uid and uid brings process
    over it's NPROC rlimit. 

It's the same error that was returned to fork()

EAGAIN
    It was not possible to create a new process because the caller's
    RLIMIT_NPROC resource limit was encountered. To exceed this limit,
    the process must have either the CAP_SYS_ADMIN or the CAP_SYS_RESOURCE
    capability. 


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





More information about the nginx mailing list