[EMAIL PROTECTED] wrote:
> Hope someone can give me a hand on this, I am having some problem using
> the Memory Usage option in the main menu of Apache::Status.  
> 
> It always return me a 500 with the following error.
> 
> [Tue May 14 08:48:21 2002] [error] Can't call method "size" on unblessed
> reference at /usr/lib/perl5/site_perl/5.6.0/i386-linux/B/Size.pm line
> 94.

Do you have B::Size installed?

   perl -MB::Size -e1

Can you use TerseSize from the command line?

   perl -MO=TerseSize -e '1'

Also 5.6.0 is *very* buggy, so upgrading to 5.6.1 is a very good idea.


> This is the config I added to httpd.conf to enable the feature.
> 
> <Location /perl-status>
>   SetHandler perl-script
>   PerlModule Apache::Status
>   PerlModule B::TerseSize
>   PerlHandler Apache::Status
> 
>   PerlSetVar StatusOptionsAll On
>   PerlSetVar StatusTerse On
>   PerlSetVar StatusTerseSize On
>   PerlSetVar StatusTerseSizeMainSummary On
> </Location>

__________________________________________________________________
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

Reply via email to