On Thursday 06 February 2003 12:35, Robin Berjon wrote:
> I'm 90% sure that Matt meant the USR2 signal. Uncomment it, restart
> apache, and try it.
OK, that's make sense when you say it! :-)
> >>and then send your
> >>httpd a USR1 signal and send in the stack trace.
> >
> > That's means using things like gdb stack...? I haven't done that
> > before... :-)
>
> I think he's talking about the Perl stack trace :)
Good to hear...
I tried to send a USR2 to the main apache-process first (whose pid is in
/var/run/apache.pid), but that apparently did nothing. Then, I sent a
USR2 to the child that was eating the CPU, and got the following:
[Thu Feb 6 12:58:54 2003] [warn] [client 195.1.208.96] [AxKit] Caught
an exception
[Thu Feb 6 12:58:54 2003] [error] [client 195.1.208.96] [AxKit] [Error]
caught SIGUSR2! at /usr/local/lib/perl/5.6.1/AxKit.pm line 166
AxKit::__ANON__('USR2') called at (eval 86) line 11
Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp::__ANON__('Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp',
'AxKit::Apache=SCALAR(0x83cb880)', 'Apache::Request=SCALAR(0x869b07c)',
'XML::LibXML::Document=SCALAR(0x86ba460)') called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
eval {...} called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP',
'AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)',
'Apache::AxKit::Provider::File=HASH(0x84b5ed0)', 1) called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 739
AxKit::process_request('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)', 'ARRAY(0x82f697c)',
undef) called at /usr/local/lib/perl/5.6.1/AxKit.pm line 461
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 288
eval {...} called at /usr/local/lib/perl/5.6.1/AxKit.pm line 279
AxKit::main_handler('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 193
AxKit::fast_handler('AxKit::Apache=SCALAR(0x83cb880)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
[Thu Feb 6 12:58:54 2003] [error] [client 195.1.208.96] [AxKit] From:
/usr/local/lib/perl/5.6.1/Apache/AxKit/Exception.pm : 9
[Thu Feb 6 12:58:54 2003] [error] [client 195.1.208.96] [AxKit]
[Backtrace] caught SIGUSR2! at /usr/local/lib/perl/5.6.1/AxKit.pm line
166
AxKit::__ANON__('USR2') called at (eval 86) line 11
Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp::__ANON__('Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp',
'AxKit::Apache=SCALAR(0x83cb880)', 'Apache::Request=SCALAR(0x869b07c)',
'XML::LibXML::Document=SCALAR(0x86ba460)') called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
eval {...} called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP',
'AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)',
'Apache::AxKit::Provider::File=HASH(0x84b5ed0)', 1) called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 739
AxKit::process_request('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)', 'ARRAY(0x82f697c)',
undef) called at /usr/local/lib/perl/5.6.1/AxKit.pm line 461
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 288
eval {...} called at /usr/local/lib/perl/5.6.1/AxKit.pm line 279
AxKit::main_handler('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 193
AxKit::fast_handler('AxKit::Apache=SCALAR(0x83cb880)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error',
'-text', 'caught SIGUSR2! at /usr/local/lib/perl/5.6.1/AxKit.pm line
166^J^I...') called at /usr/local/lib/perl/5.6.1/AxKit.pm line 988
AxKit::prep_exception('caught SIGUSR2! at
/usr/local/lib/perl/5.6.1/AxKit.pm line 166^J^I...') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 162
AxKit::__ANON__('caught SIGUSR2! at /usr/local/lib/perl/5.6.1/AxKit.pm
line 166^J^I...') called at /usr/share/perl/5.6.1/Carp.pm line 65
Carp::confess('caught SIGUSR2!') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 166
AxKit::__ANON__('USR2') called at (eval 86) line 11
Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp::__ANON__('Apache::AxKit::Language::XSP::ROOT::var::www::index_2exsp',
'AxKit::Apache=SCALAR(0x83cb880)', 'Apache::Request=SCALAR(0x869b07c)',
'XML::LibXML::Document=SCALAR(0x86ba460)') called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
eval {...} called at
/usr/local/lib/perl/5.6.1/Apache/AxKit/Language/XSP.pm line 173
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP',
'AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)',
'Apache::AxKit::Provider::File=HASH(0x84b5ed0)', 1) called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 739
AxKit::process_request('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)', 'ARRAY(0x82f697c)',
undef) called at /usr/local/lib/perl/5.6.1/AxKit.pm line 461
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 288
eval {...} called at /usr/local/lib/perl/5.6.1/AxKit.pm line 279
AxKit::main_handler('AxKit::Apache=SCALAR(0x83cb880)',
'Apache::AxKit::Provider::File=HASH(0x845ebc0)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 193
AxKit::fast_handler('AxKit::Apache=SCALAR(0x83cb880)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
I hope this is interesting... :-)
Cheers,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/ OpenPGP KeyID: 6A6A0BBC
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]