kill -HUP failing (0.6.32)

Guy Naor guy at mor.ph
Fri Oct 10 23:38:57 MSD 2008


Hi,

We increased the file limit (using ulimit -S -H -n 4096) and it worked like
a charm!

Thanks,

Guy.


On Fri, Oct 10, 2008 at 9:21 AM, Igor Sysoev <is at rambler-co.ru> wrote:

> On Sat, Oct 11, 2008 at 12:14:14AM +0800, Kenneth Demanawa wrote:
>
> > Hi Igor.
> >
> > here's what the error log file says:
> >
> > 2008/10/10 16:11:14 [emerg] 29967#0: open()
> > "/var/nginx/logs/xxxxx/error.log" failed (24: Too many open files)
>
> So, this is the answer. You need to increase file numbers.
>
> > Kenneth
> >
> > On Fri, Oct 10, 2008 at 11:36 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> > > On Fri, Oct 10, 2008 at 11:31:14PM +0800, Kenneth Demanawa wrote:
> > >
> > >> Hi Igor.
> > >>
> > >> I was tailing the error_log file when I issued the -HUP, and there's
> > >> no new entry added in the log file after I gave the signal to the
> > >> master process. :(
> > >
> > > If you set error_log to notice level, do you see messages like these:
> > >
> > > 2008/10/10 18:30:14 [notice] 43492#0: signal 1 (SIGHUP) received,
> reconfiguring
> > > 2008/10/10 18:30:14 [notice] 43492#0: reconfiguring
> > >
> > >
> > >> Kenneth
> > >>
> > >> On Fri, Oct 10, 2008 at 11:03 PM, Igor Sysoev <is at rambler-co.ru>
> wrote:
> > >> >> "nginx -t" shows:
> > >> >>
> > >> >> 2008/10/10 14:43:32 [info] 23171#0: the configuration file
> > >> >> ./nginx.conf syntax is ok
> > >> >> 2008/10/10 14:43:32 [info] 23171#0: the configuration file
> > >> >> ./nginx.conf was tested successfully
> > >> >
> > >> > What is in error_log after -HUP ?
> > >> >
> > >
> > > --
> > > Igor Sysoev
> > > http://sysoev.ru/en/
> > >
> > >
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>


-- 
Guy Naor
CTO
Morph Labs, Inc.
guy at mor.ph
www.morphexchange.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081010/9c277ab0/attachment.html>


More information about the nginx mailing list