perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tom.kirkpatr...@virusbtn.com
Subject Apache::Status and B::TerseSize error
Date Sat, 01 Apr 2006 11:18:10 GMT
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/Size.pm line 24.
 at /usr/local/lib/perl5/site_perl/5.8.7/mach/B/Size.pm line 24
        require B/Size.pm called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/TerseSize.pm line 16
        B::TerseSize::BEGIN() called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/Size.pm line 0
        eval {...} called at 
/usr/local/lib/perl5/site_perl/5.8.7/mach/B/Size.pm line 0
        require B/TerseSize.pm called at (eval 18) line 3
        eval 'require B::TerseSize
;' called at /usr/local/lib/perl5/site_perl/5.8.7/mach/B/Size.pm 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
  </Location>

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

Mime
View raw message