2009/11/21 Igor Sysoev <is@rambler-co.ru>
> On Sat, Nov 21, 2009 at 08:12:26AM -0800, kevin wrote:
>
> > this is with nginx 0.8.27
> >
> > On Sat, Nov 21, 2009 at 8:05 AM, kevin <kevincastiglione@gmail.com>
> wrote:
> >
> > > hi guys,
> > > when i restart nginx doesnt start up and it gives the followign error:
> > >
> > > setuid(500) failed (11: Resource temporarily unavailable
> > >
> > > how to fix this problem?
>
> Although Linux (and others) man setuid(2) says nothing about EAGAIN,
> I believe, you have limit of number of processes for nginx's user.
>
for the user of worker processor:
ulimit -u
unlimited
for root user
ulimit -u
1024
is this done by the root user? i can increase the limit to unlimited for
root user. do you think it will help?
thanks