nginx worker process wont start
is at rambler-co.ru
Wed May 21 19:46:39 MSD 2008
On Wed, May 21, 2008 at 08:37:21AM -0700, rkmr.em at gmail.com wrote:
> On Wed, May 21, 2008 at 8:23 AM, Igor Sysoev <is at rambler-co.ru> wrote:
> > 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
> > 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.
> more /etc/passwd | grep mark
> from nginx configure
> user mark;
> worker_processes 1;
> and this is how i start nginx
> sudo /opt/local/sbin/nginx -c
> am i doing something wrong?
ps -U mark | wc -l
> > 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.
> do you know how do I give these capabilities to the processes?
More information about the nginx