Doug,

Tried what you suggest, but with seemingly disappointing results. (below) The 
hangs seem to come _after_ the logging phase - the heap just keep growing and 
the process takes up all available CPU, but it doesn't seem to be doing 
anything!

This is really getting dis-heartening.

Thanks,
- Tony

gdb /opt/apache/bin/httpd 7396
Attaching to program `/opt/apache/bin/httpd', process 7396    
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
Reading symbols from /opt/local/perl/auto/BSD/Resource/Resource.so...done.
Reading symbols from /opt/local/lib/perl5/auto/Data/Dumper/Dumper.so...done.
Reading symbols from /opt/local/lib/perl5/auto/B/B.so...done.
Reading symbols from /opt/local/lib/perl5/auto/Fcntl/Fcntl.so...done.
Reading symbols from /opt/local/lib/perl5/auto/DB_File/DB_File.so...done.
Reading symbols from /opt/local/perl/auto/Time/HiRes/HiRes.so...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /opt/local/lib/perl5/auto/IO/IO.so...done.
Reading symbols from /opt/local/lib/perl5/auto/Socket/Socket.so...done.
Symbols already loaded for /usr/lib/libsocket.so.1
Symbols already loaded for /usr/lib/libnsl.so.1
Symbols already loaded for /usr/lib/libdl.so.1
Symbols already loaded for /usr/lib/libm.so.1
Symbols already loaded for /usr/lib/libc.so.1
Symbols already loaded for /usr/lib/libcrypt_i.so.1
Symbols already loaded for /usr/lib/libmp.so.2
Symbols already loaded for /usr/lib/libgen.so.1
Symbols already loaded for /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
Symbols already loaded for /opt/local/perl/auto/BSD/Resource/Resource.so
Symbols already loaded for /opt/local/lib/perl5/auto/Data/Dumper/Dumper.so
Symbols already loaded for /opt/local/lib/perl5/auto/B/B.so
Symbols already loaded for /opt/local/lib/perl5/auto/Fcntl/Fcntl.so
Symbols already loaded for /opt/local/lib/perl5/auto/DB_File/DB_File.so
Symbols already loaded for /opt/local/perl/auto/Time/HiRes/HiRes.so
Symbols already loaded for /usr/lib/nss_files.so.1
Symbols already loaded for /opt/local/lib/perl5/auto/IO/IO.so
Symbols already loaded for /opt/local/lib/perl5/auto/Socket/Socket.so
0xff251ac8 in memcmp () from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
(gdb) 
(gdb) source /opt/local/src/info_services/mod_perl-1.21/.gdbinit
(gdb) curinfo
Attempt to extract a component of a value that is not a structure pointer.
(gdb) longmess
Attempt to extract a component of a value that is not a structure pointer.
(gdb) 

In message <[EMAIL PROTECTED]>, Doug MacEa
chern writes:
>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 t
>he 
>> right direction? If any more information will help decode this problem, I ca
>n 
>> 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
>

Reply via email to