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
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. :(

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 ?
>
Anonymous User
Re: kill -HUP failing (0.6.32)
October 11, 2008 09:34PM
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/
Anonymous User
Re: kill -HUP failing (0.6.32)
October 11, 2008 09:34PM
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)

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/
>
>
Sorry, only registered users may post in this forum.

Click here to login