why will nginx's map directive eat all ram?
Валентин Бартенев
vbart at nginx.com
Fri Aug 2 15:05:45 UTC 2013
On Friday 02 August 2013 16:30:35 Payne Chu wrote:
> recently I try to use map directive to make my nginx.conf DRY. like below
>
> `map $pid $public_root { default public; }`
>
> and in one of server directive I put below
>
> `root $public_root;`
>
> I try to `ab` test with retrieve a static html. the nginx will eat all ram.
> if I reset back to `root public;` it will maintain the ram in low evel.
>
> so we should avoid to use map directive ?
>
> My Env: MACOSX 10.8.4, Nginx 1.4.1
>
What does "nginx -V" show?
wbr, Valentin V. Bartenev
--
http://nginx.org/en/donation.html
More information about the nginx
mailing list