In message <[EMAIL PROTECTED]>, Doug MacEac
hern writes:
>On Tue, 14 Dec 1999, Tony Demark wrote:
>
>> 
>> Doug,
>> 
>> Tried what you suggest, but with seemingly disappointing results. (below) Th
>e 
>> hangs seem to come _after_ the logging phase - the heap just keep growing an
>d 
>> the process takes up all available CPU, but it doesn't seem to be doing 
>> anything!
>
>if you could try the libperld.a+PERL_DEBUG=1 suggestion, and a new
>stacktrace, it might provide some new clues.
>

Now we are getting somewhere, I hope. There seem to be several people that are 
having a similar problem to this, are any of you seeing similar output?

Thanks,
- Tony
 
wrist:root[11]#       gdb /opt/apache/bin/httpd.debug 20831
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...

/opt/local/apache/bin/20831: No such file or directory.
Attaching to program `/opt/apache/bin/httpd.debug', process 20831    
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/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/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
0x164f80 in Perl_sv_free (sv=0x93fb14) at sv.c:3052
3052            del_SV(sv);
(gdb) source /opt/local/src/info_services/mod_perl-1.21/.gdbinit
(gdb) curinfo
19:/opt/local/perl/Apache/Constants.pm
(gdb) longmess
 at /opt/local/perl/Apache/Constants.pm line 19
        Apache::Constants::AUTOLOAD() called at /opt/local/perl/Apache/Registry
.pm line 43
        Apache::Registry::handler('Apache=SCALAR(0x77f528)') called at (eval 
71) line 0
        eval {...} called at (eval 71) line 0

(gdb) 

And some output from many of the programs in /usr/proc/bin :
pcred
20831:  e/r/suid=3101  e/r/sgid=101
pfiles
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
  Current rlimit: 72 file descriptors
   0: S_IFCHR mode:0666 dev:32,0 ino:27161 uid:0 gid:3 rdev:13,2
      O_RDONLY
   1: S_IFCHR mode:0666 dev:32,0 ino:27161 uid:0 gid:3 rdev:13,2
      O_WRONLY
   2: S_IFREG mode:0664 dev:32,5 ino:105173 uid:0 gid:1 size:3917089
      O_WRONLY|O_APPEND
   4: S_IFDOOR mode:0444 dev:188,0 ino:26629 uid:0 gid:0 size:0
      O_RDONLY|O_LARGEFILE FD_CLOEXEC  door to nscd[232]
   5: S_IFREG mode:0664 dev:190,1 ino:2036833 uid:1012 gid:101 size:716
      O_RDONLY FD_CLOEXEC
   6: S_IFREG mode:0644 dev:190,1 ino:1370144 uid:0 gid:1 size:180224
      O_RDONLY|O_LARGEFILE FD_CLOEXEC
   7: S_IFREG mode:0444 dev:190,1 ino:1019302 uid:0 gid:1 size:2852
      O_RDONLY FD_CLOEXEC
   8: S_IFREG mode:0644 dev:190,1 ino:1370145 uid:0 gid:1 size:344064
      O_RDONLY|O_LARGEFILE FD_CLOEXEC
  15: S_IFREG mode:0664 dev:32,5 ino:105173 uid:0 gid:1 size:3917089
      O_WRONLY|O_APPEND
  16: S_IFSOCK mode:0666 dev:183,0 ino:37659 uid:0 gid:0 size:0
      O_RDWR
  17: S_IFSOCK mode:0666 dev:183,0 ino:37654 uid:0 gid:0 size:0
      O_RDWR
  18: S_IFREG mode:0644 dev:32,5 ino:105174 uid:0 gid:1 size:73572535
      O_WRONLY|O_APPEND
  19: S_IFREG mode:0644 dev:32,5 ino:105178 uid:0 gid:1 size:0
      O_WRONLY
pflags
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
        data model = _ILP32  flags = PR_ORPHAN|PR_ASYNC
  /1:   flags = PR_STOPPED|PR_ISTOP|PR_ASLEEP [ fcntl(0x13,0x7,0x20df8c) ]
  why = PR_REQUESTED
pldd
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
/usr/lib/libsocket.so.1
/usr/lib/libnsl.so.1
/usr/lib/libdl.so.1
/usr/lib/libm.so.1
/usr/lib/libc.so.1
/usr/lib/libcrypt_i.so.1
/usr/lib/libmp.so.2
/usr/lib/libgen.so.1
/usr/platform/sun4u/lib/libc_psr.so.1
/opt/local/lib/perl5/auto/Data/Dumper/Dumper.so
/opt/local/lib/perl5/auto/B/B.so
/opt/local/lib/perl5/auto/Fcntl/Fcntl.so
/opt/local/lib/perl5/auto/DB_File/DB_File.so
/opt/local/perl/auto/Time/HiRes/HiRes.so
/usr/lib/nss_files.so.1
/opt/local/lib/perl5/auto/IO/IO.so
/opt/local/lib/perl5/auto/Socket/Socket.so
pmap
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
00010000   1928K read/exec         /opt/local/apache/bin/httpd.debug
00200000     56K read/write/exec   /opt/local/apache/bin/httpd.debug
0020E000  16520K read/write/exec     [ heap ]
FEF80000     24K read/exec         /opt/local/lib/perl5/auto/Socket/Socket.so
FEF94000      8K read/write/exec   /opt/local/lib/perl5/auto/Socket/Socket.so
FEFA0000      8K read/write/exec     [ anon ]
FEFB0000     24K read/exec         /opt/local/lib/perl5/auto/IO/IO.so
FEFC4000      8K read/write/exec   /opt/local/lib/perl5/auto/IO/IO.so
FEFD0000     16K read/exec         /usr/lib/nss_files.so.1
FEFE2000      8K read/write/exec   /usr/lib/nss_files.so.1
FEFF0000     48K read/write/shared   [ anon ]
FF000000    504K read/exec         /opt/local/lib/perl5/auto/DB_File/DB_File.so
FF08C000     16K read/write/exec   /opt/local/lib/perl5/auto/DB_File/DB_File.so
FF0A0000     16K read/exec         /opt/local/perl/auto/Time/HiRes/HiRes.so
FF0B2000      8K read/write/exec   /opt/local/perl/auto/Time/HiRes/HiRes.so
FF0C0000     16K read/exec         /opt/local/lib/perl5/auto/Fcntl/Fcntl.so
FF0D2000      8K read/write/exec   /opt/local/lib/perl5/auto/Fcntl/Fcntl.so
FF0E0000     80K read/exec         /opt/local/lib/perl5/auto/B/B.so
FF102000     16K read/write/exec   /opt/local/lib/perl5/auto/B/B.so
FF110000     24K read/exec         /opt/local/lib/perl5/auto/Data/Dumper/Dumper
.so
FF124000     16K read/write/exec   /opt/local/lib/perl5/auto/Data/Dumper/Dumper
.so
FF130000      8K read/write/exec     [ anon ]
FF140000     24K read/exec         /usr/lib/libgen.so.1
FF154000     16K read/write/exec   /usr/lib/libgen.so.1
FF160000     16K read/exec         /usr/lib/libmp.so.2
FF172000      8K read/write/exec   /usr/lib/libmp.so.2
FF180000    656K read/exec         /usr/lib/libc.so.1
FF232000     32K read/write/exec   /usr/lib/libc.so.1
FF23A000      8K read/write/exec     [ anon ]
FF250000     16K read/exec         /usr/platform/sun4u/lib/libc_psr.so.1
FF260000      8K read/exec         /usr/lib/libcrypt_i.so.1
FF270000     16K read/write/exec   /usr/lib/libcrypt_i.so.1
FF280000    512K read/exec         /usr/lib/libnsl.so.1
FF30E000     40K read/write/exec   /usr/lib/libnsl.so.1
FF318000     32K read/write/exec     [ anon ]
FF330000     88K read/exec         /usr/lib/libm.so.1
FF354000      8K read/write/exec   /usr/lib/libm.so.1
FF370000     32K read/exec         /usr/lib/libsocket.so.1
FF386000     16K read/write/exec   /usr/lib/libsocket.so.1
FF390000      8K read/exec         /usr/lib/libdl.so.1
FF3A0000      8K read/write/exec     [ anon ]
FF3B0000    120K read/exec         /usr/lib/ld.so.1
FF3DC000      8K read/write/exec   /usr/lib/ld.so.1
FFBE6000     40K read/write/exec     [ stack ]
 total    21072K
psig
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
HUP     caught  0
INT     caught  0
QUIT    default
ILL     caught  0
TRAP    default
ABRT    caught  RESETHAND
EMT     default
FPE     default
KILL    default
BUS     caught  RESETHAND
SEGV    caught  RESETHAND
SYS     default
PIPE    ignored
ALRM    caught  RESTART
TERM    caught  0
USR1    ignored
USR2    default
CLD     default NOCLDSTOP
PWR     default
WINCH   default
URG     caught  0
POLL    default
STOP    default
TSTP    default
CONT    default
TTIN    default
TTOU    default
VTALRM  default
PROF    default
XCPU    default
XFSZ    default
WAITING default
LWP     default
FREEZE  default
THAW    default
CANCEL  default
LOST    default
RTMIN   default
RTMIN+1 default
RTMIN+2 default
RTMIN+3 default
RTMAX-3 default
RTMAX-2 default
RTMAX-1 default
RTMAX   default
pstack
20831:  /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
 ff217cf4 setcontext (ffbeeec4, 1, 230e30, 0, 0, 40) + 10
 000e3668 perl_call_sv (3db7d4, 16, 3e4b08, 28d508, 0, ffbeefd5) + 6c4
 00164524 Perl_sv_clear (77f534, 2000100b, 800000, 20e784, 30, 119bd08) + 3f8
 00164f30 Perl_sv_free (77f534, 2000100b, 2000180b, ece808, 20ec00, 5f0c08) + 
218
 0018a954 Perl_free_tmps (30, 2e, 253808, 0, 235808, 39) + ac
 0014d2ac Perl_pp_nextstate (5e1f88, 20f000, 0, 1, b0, 763dc8) + 8c
 0014cd8c Perl_runops_debug (20d400, 323908, ffbef248, 0, 0, 40) + 12c
 000e386c perl_call_sv (432468, 4, 3, 78df96, 1cd9f0, 0) + 8c8
 00034a70 perl_call_handler (432468, 78c040, 1cd9a8, 0, 0, ff00) + 5b8
 000342e0 perl_run_stacked_handlers (ffffffff, 78c040, 2cc7d4, 84c8c, 0, 
78d448) + 21c
 00032b60 perl_handler (78c040, 3299c, ffffffff, 0, 74, 74) + 1c4
 00081388 ap_invoke_handler (78c040, 0, 1, 78, 45, 65) + 190
 0009d0f8 process_request_internal (78c040, 0, a4, 7b, effffc00, 1) + 6d0
 0009d178 ap_process_request (78c040, c8, 78c040, ffbef640, ffbef650, 3) + 38
 00091008 child_main (3, 8f2f8, 8f000, 0, ff233938, 912a0) + 7b4
 00091360 make_child (215840, 3, 3856b160, 7b, 40, 0) + 190
 00091470 startup_children (a, 0, a, 203c00, 3, ff218110) + a8
 00091d50 standalone_main (3, ffbef904, 0, 0, ff2364e0, ff23681c) + 22c
 000928ec main     (3, ffbef904, ffbef914, 20eacc, 0, 0) + 550
 00031734 _start   (0, 0, 0, 0, 0, 0) + 5c
ptree
20827 /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf
  20831 /opt/apache/bin/httpd.debug -f /opt/apache/conf/httpd.conf

Reply via email to