memory footprint

Igor Sysoev is at rambler-co.ru
Thu Nov 8 18:31:33 MSK 2007


On Mon, Nov 05, 2007 at 02:38:23PM +0100, Jure Pe??ar wrote:

> I'm used to see nginx memory size quite low, in the few megabytes range. However, I have an instance here where worker process is taking about 150MB. It's true that it serves lots of connections (openads, about 500 req/s) and that it went through some resource shortage recently (lives inside a VPS), but still ...
> 
> Is there a method for me to check what are those 150MB used for? 

nginx should not have memory leaks. At least I run it on several sites
for months without reconfiguration (so workers may run too long).

This memory may be not used by nginx and free()ed, but libc does not return
the memory to kernel, because free memory may be sparse.

Do you use proxy or fastcgi ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list