Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
mod_perl2 memory growth after restart of Apache
 

Index | Next | Previous | View Flat


nabble at cfs

Jul 15, 2011, 1:54 PM


Views: 510
Permalink
mod_perl2 memory growth after restart of Apache

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.

Subject User Time
mod_perl2 memory growth after restart of Apache nabble at cfs Jul 15, 2011, 1:54 PM
    Re: mod_perl2 memory growth after restart of Apache perrin at elem Jul 15, 2011, 2:29 PM
    Re: mod_perl2 memory growth after restart of Apache fred at redhotpenguin Jul 15, 2011, 2:34 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.