perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Apache::Status and B::TerseSize error
Date Sat, 01 Apr 2006 11:43:15 GMT
I also get this in the logs:

Can't locate object method "size" via package "\b" at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 28, <GEN2> line 
01/04/2006 12:18


Apache::Status and B::TerseSize error

When attempting to view mod_perl memory usage via Apache::Status, I 
encounter the following error:

Prototype mismatch: sub B::OP::size: none vs () at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 24.
 at /usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 24
        require B/ called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 16
        B::TerseSize::BEGIN() called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 0
        eval {...} called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 0
        require B/ called at (eval 18) line 3
        eval 'require B::TerseSize
;' called at /usr/local/lib/perl5/site_perl/5.8.7/mach/B/ line 0

In my httpd.conf I have the following:

  PerlModule B::TerseSize
  PerlModule B::Terse

  <Location "/system/perl-status">
      SetHandler  perl-script
      PerlHandler Apache::Status
      PerlSetVar StatusOptionsAll On
      PerlSetVar StatusTerse On
      PerlSetVar StatusTerseSize On
      PerlSetVar StatusTerseSizeMainSummary On

The new 'Memory Usage' option shows up in the main perl-status page, but 
clicking on it results in the above error. I have the latest versions of 
B::Size & B::TerseSize installed and am Apache 1.3 running on FreeBSD. Any 

ideas how I can get this to work?

many thanks

Tom Kirkpatrick
Web Developer - Virus Bulletin

Tom Kirkpatrick
Web Developer - Virus Bulletin

View raw message