[CentOS] Memory leak - how to investigate

Warren Young warren at etr-usa.com
Mon Feb 3 20:45:45 UTC 2014


On 2/3/2014 13:39, Les Mikesell wrote:
>
> A new child process will share almost all
> memory with the parent, slowly growing as values change.

The trick is to load up as much as possible in the parent before the 
children start forking off.

If the parent does little more than initialize the web stack itself, the 
children don't end up sharing anything app-specific, which can end up 
being a huge waste of RAM.



More information about the CentOS mailing list