lima1 has asked for the wisdom of the Perl Monks concerning the following question:

hi monks,

the memory usage of my apache2 process grows slowly. it is a cgi::application based framework. It would be nice if the app in debug mode dumps detailed memory usage statistics in a logfile once a day. Do you know some modules that I can use implementing this? I would write a CGI::App Plugin for this.

Disclaimer: I assume this is a FAQ, but with super search I found only questions concerning how to fix particular leaks (weakrefs,...). They all seem to know how to find memory leaks :( Googling gave me Apache::Leak, but this is missing in the debian modperl2 package. cpan Apache::Leak tries to install modperl1.

Replies are listed 'Best First'.
Re: Profiling a mod_perl2 app
by perrin (Chancellor) on Mar 23, 2006 at 15:16 UTC
    Sounds like you're looking for this.
Re: Profiling a mod_perl2 app
by lorn (Monk) on Mar 23, 2006 at 15:16 UTC

    Do you try do install Apache::Leak, for cpan?

    Lorn
    -http://lornlab.no-ip.com-
    -www.slackwarezine.com.br-

Re: Profiling a mod_perl2 app
by philcrow (Priest) on Mar 23, 2006 at 16:23 UTC