Welcome! Log In Create A New Profile

Advanced

Re: kill -HUP failing (0.6.32)

Posted by Anonymous User 
Anonymous User
Re: kill -HUP failing (0.6.32)
October 11, 2008 09:30PM
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 <[email protected]> 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 <[email protected]> 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
Re: kill -HUP failing (0.6.32)
October 11, 2008 09:59PM
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 <[email protected]> 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 <[email protected]> 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 <[email protected]>
> 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@mor.ph
www.morphexchange.com
Sorry, only registered users may post in this forum.

Click here to login