On Tue, Jan 20, 2004 at 04:35:34PM -0600, Ben Collins-Sussman wrote: > Sorry to be so slow in getting back to you, Joe. I'm still desperately > looking for a clue on this SSL "hang" that happens when I run 'apachectl > graceful'. > > On Wed, 2004-01-14 at 15:51, Joe Orton wrote: > > > > The client is hanging on a select() call: > > > > What's the server doing? > > Hm, I can't seem to figure it out, having bad luck with strace on the > server: > > $ sudo netstat -pt > [...] > tcp 3066 0 dev37.spdev.colla:https 10.3.0.6:37848 ESTABLISHED 3850/ > tcp 4179 0 dev37.spdev.colla:https 10.3.0.6:37786 CLOSE_WAIT 3446/ > [...] > > $ sudo strace -p 3850 > trace: ptrace(PTRACE_SYSCALL, ...): Operation not permitted > detach: ptrace(PTRACE_DETACH, ...): Operation not permitted
Ah, add "CoreDumpDirectory /tmp" to your httpd.conf and make sure you're running the latest errata kernel so that ptrace works properly... I have now managed to reproduce hangs a couple of times here, only using db-4.1.25 on the server: the child was sat eating CPU, either doing no syscalls or doing: futex(0xbf58b1b0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xbf58b1b0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xbf58b1b0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xbf58b1b0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xbf58b1b0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) ...which could be a db4 issue. Is that consistent with what you're seeing with 4.2.52? joe
