Welcome! Log In Create A New Profile

Advanced

Re: why will nginx's map directive eat all ram?

Valentin V. Bartenev
August 03, 2013 08:40PM
On Saturday 03 August 2013 13:57:52 Payne Chu wrote:
> Finally I can reproduce even in the Homebrew version. It will only leak
> when I use relative path. and all version also can reproduce. b4 I test
> Homebrew version with full path not relative path that's the
> different....XD~
>
> map $pid $public_root { default public; } <-- this one relative path
> leak happened
> map $pid $public_root { default /usr/local/Cellar/nginx/1.4.1/public; } <-
> this one full path without leak..
>

Please, try this patch: http://pp.nginx.com/vbart/patches/fix_memleak.txt
It fixes the leak.

wbr, Valentin V. Bartenev

--
http://nginx.org/en/donation.html

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

why will nginx's map directive eat all ram?

Payne Chu August 02, 2013 08:30AM

Re: why will nginx's map directive eat all ram?

Валентин Бартенев August 02, 2013 11:06AM

Re: why will nginx's map directive eat all ram?

Payne Chu August 02, 2013 10:08PM

Re: why will nginx's map directive eat all ram?

Payne Chu August 03, 2013 04:42AM

Re: why will nginx's map directive eat all ram?

Payne Chu August 03, 2013 05:57AM

Re: why will nginx's map directive eat all ram?

Valentin V. Bartenev August 03, 2013 06:10AM

Re: why will nginx's map directive eat all ram?

Valentin V. Bartenev August 03, 2013 06:16AM

Re: why will nginx's map directive eat all ram?

Valentin V. Bartenev August 03, 2013 08:40PM

Re: why will nginx's map directive eat all ram?

Payne Chu August 04, 2013 11:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 286
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