kill -HUP failing (0.6.32)

Igor Sysoev is at rambler-co.ru
Fri Oct 10 20:21:20 MSD 2008


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/





More information about the nginx mailing list