Hi,

Looking in the archives, I see people (mostly back a few years) saying that
people should not use "apachectl restart" or "apachectl graceful" (or
sending the HUP signal) to restart Apache since it leaks memory.

This is the case that I'm seeing (Apache/2.2.19 (FreeBSD 8.0) mod_perl/2.0.5
Perl/v5.8.9) where for every time I run apachectl restart, it leaks a few MB
of RAM into the parent process and thus into all the children too.  The size
of the leak is very dependent on how much code I preload into mod_perl using
a PerlRequire in the main server's config, so my guess is that the compiled
version of my perl modules is leaking for every restart.

Is this a known issue, is it specific to FreeBSD, or is there a way to
mitigate this leaking?

I'd rather not stop/start the server, since "graceful" results in almost no
downtime that would affect incoming HTTP requests.

Thanks,
Chris
-- 
View this message in context: 
http://old.nabble.com/mod_perl2-memory-growth-after-restart-of-Apache-tp32071270p32071270.html
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to