Beau E. Cox wrote:
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
I've got my Mason w/mod_perl2 and libapreq2 system
up and running OK, but...
Using a simple script that totals ALL httpd processes' memory
usage (from /proc/pid/status) I get this before any
requests into the server:
VmData VmExe VmLck VmLib VmRSS VmSize VmStk
4297576 32248 0 524944 1479132 4904200 2784
4297576 32248 0 524944 1479132 4904200 2784
...
And this after about 50,000 hits to Mason-enabled pages:
VmData VmExe VmLck VmLib VmRSS VmSize VmStk
4605240 32248 0 538272 1801692 5226200 2784
4605240 32248 0 538272 1801692 5226200 2784
Note the increase to VmSize.
Also if you have libgtop, you can use a more flexible way to detect leaks. See
http://cvs.apache.org/viewcvs.cgi/modperl-2.0/t/conf/modperl_extra.pl?r1=1.39&r2=1.40&diff_format=h
You can braket your code sections and see which ones add more memory requirements.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html