Welcome! Log In Create A New Profile

Advanced

Re: Nginx "Bug"?

April 23, 2009 08:33AM
On Thu, Apr 23, 2009 at 02:07:09PM +0200, Paul wrote:

> Hi,
>
> I don't know if Igor Sysoev is aware of this:
>
> When running nginx in debug mode (I was debugging a custom module for nginx
> in gdb):
> master_process off;
> daemon off;
> Nginx breaks down when sending a HUP signal (reload configuration), it just
> closes the connections after they were established.
>
> I was testing it with many modules and some patches on 0.7.51 with extra
> compile options -o0 and -ggdb, but I did another test without any options
> given to ./configure with 0.7.52 and the problem occures there too.
>
> I don't know if Igor Sysoev does care about it because those option are
> only for debugging, but just to let you know.

The segfault occurs with "master_process off" only.
And yes, this mode is intended for debugging only.

As to "daemon off", there are no segfaults.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Nginx "Bug"?

Paul April 23, 2009 08:07AM

Re: Nginx "Bug"?

Igor Sysoev April 23, 2009 08:33AM

Re: Nginx "Bug"?

Paul April 23, 2009 02:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready