Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Regularly recapture memory used by Apache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Regularly recapture memory used by Apache
Authored by: vykor on Nov 21, '05 09:12:05PM

There are only a few good reasons to overrule the judgment of the OS regarding memory management. One would be if Apache httpd or its PHP module or such were badly coded and leaked memory. I've seen several daemons with memory leaks that grow ridiculously large (I've also seen some resident daemons that, as a hack, surreptitiously reboot themselves on timers so as to release their leaked memory).

Unless this is occurring, I don't think manual rebooting of the processes are necessary. In fact, it'd probably incur additional costs in memory accesses and cache misses by doing so, without any real benefit, as the OS would reallocate freed memory or page to disk as needed without user intervention.



[ Reply to This | # ]