Francesc Guasch wrote:
Hi. I have a leak somewhere and I'm trying to find it using Apache2::Status. Individual usage of memory in the packages and functions doesn't grow, and I'm unable to use the "memory usage" of Apache2::Status, so I can see further.
Francesc, try to bracket your handlers for memory usage using this approach: http://svn.apache.org/viewcvs.cgi/perl/modperl/trunk/t/lib/TestCommon/MemoryLeak.pm?view=markup [...]
I get this with Gtop: Process 19994 start 100reqs 100reqsmore shared: 11656 11656 11656 size: 33892 54140 73804 rss: 27756 40456 52316
You also need to be aware that shared memory reporting on linux 2.6 kernel is invalid. I don't know if it was fixed in the most recent kernel releases.
-- _____________________________________________________________ Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/ MailChannels: Assured Messaging(TM) http://mailchannels.com/ The "Practical mod_perl" book http://modperlbook.org/ http://perl.apache.org/ http://perl.org/ http://logilune.com/