Welcome! Log In Create A New Profile

Advanced

Re: [BUG] memory leak and segmentation fault during reconfiguration, without master process

Maxim Dounin
March 24, 2010 05:32AM
Hello!

On Wed, Mar 24, 2010 at 05:02:51AM +0100, Manlio Perillo wrote:

> I have noted that, without the master process enabled, Nginx leasks
> memory for each reconfiguration (HUP signal).
> Moreover, after several reconfigurations it crashes (at least on my system).
>
> With the attached Python script and using a delay of 0.2 seconds,
> Nginx crashed *exactly* after the 151th kill.
>
> The memory usage grows from 4380 KB to about 11736 KB just before the crash.
>
> I don't know if this is a know problem.

Yes, it's known. Without master process nginx isn't able to
correctly perform reconfiguration and binary upgrade. Moreover,
it won't be able to respawn new workers once some of them die. ;)

This isn't really problem as work without master process isn't
supported and only present to simplify development.

Maxim Dounin

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[BUG] memory leak and segmentation fault during reconfiguration, without master process Attachments

Manlio Perillo 2716 March 24, 2010 12:04AM

Re: [BUG] memory leak and segmentation fault during reconfiguration, without master process

Maxim Dounin 1387 March 24, 2010 05:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready