On Fri, 10 Dec 1999, Tony Demark wrote:
>
> I am having a problem with hanging httpd processes. I have done some AV
> searches as well as investigated the list archives and did not find any
> conclusive answer to this problem. If I missed it, can someone point me in the
> right direction? If any more information will help decode this problem, I can
> reproduce the problem really easily (bot hitting our stage site causes a few
> of these processes to pop up).
a few things could shed some more light:
build a libperld.a and compile with PERL_DEBUG=1 (see SUPPORT doc)
and/or, in gdb:
(gdb) source mod_perl-1.21/.gdbinit
(gdb) curinfo
should tell you the line/filename of the offending Perl code
add this to the .gdbinit (which is in the modperl cvs tree):
define longmess
set $sv = perl_eval_pv("Carp::longmess()", 1)
printf "%s\n", ((XPV*) ($sv)->sv_any )->xpv_pv
end
(gdb) longmess
should produce a Perl stacktrace