On Jan 21, 2004, at 9:55 PM, Stas Bekman wrote:
Ask Solem Hoel wrote:Hi!
I'm trying to track down a memory leak, but when I try PerlModule B::TerseSize(0.05) with Apache::Status, apache gives me an internal server error with nothing but:
[Wed Jan 21 11:29:55 2004] [error] Undefined subroutine &Apache::Status::handler called.
in the error log. The associated configuration is:
PerlSetVar StatusOptionsAll On
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary On
PerlSetVar StatusPeek On
PerlSetVar StatusLexInfo On
PerlSetVar StatusDeparse On
PerlModule B::Deparse
PerlModule B::Terse
# ### Server only croaks on this line.
PerlModule B::TerseSize
It's not clear from your report when do you get this error. You also don't show your Apache::Status configuration.
What happens if you add:
PerlModule Apache::Status
I'm sorry, the Apache::Status configuration looks like this:
<Location /perl-status> SetHandler perl-script PerlHandler Apache::Status order deny,allow deny from all allow from zzzzzz </Location>
When I access /perl-status/ on this server i get a 500 Internal Server Error,
and not much information in the error log but "Undefined subroutine &Apache::Status::handler called". If I remove the PerlModule B::TerseSize line from the apacheconfig, /apache-status/ works fine (unless the parts that uses B::TerseSize ofcourse).
-- Ask Solem Hoel [22808579 | 97018582 | 41659774] [EMAIL PROTECTED] http://www.startsiden.no
-- 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