You will need the B-Size and Devel-Symdump CPAN modules
Add to httpd.conf
PerlModule B::TerseSize
PerlModule Apache::Status
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary On
PerlSetVar StatusDumper On
PerlSetVar StatusPeek On
Order Deny,Allow
Deny from All
Allow from localhost
</Location>
and localhost/perl-status will ave a nice browsable view of where
memory is currently being used.
You might want to use the -X option.
|