Re: Apache Children Stuck on futex

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Wednesday, 26 October 2011 05:56:49 Max Barry wrote:
> $ strace -p 24133
> Process 24133 attached - interrupt to quit
> read(5, "!", 1)                         = 1
> tgkill(24133, 24164, SIGHUP)            = 0
> tgkill(24133, 24164, SIG_0)             = 0
> --- SIGTERM (Terminated) @ 0 (0) ---
> rt_sigreturn(0xf)                       = 0
> select(0, NULL, NULL, NULL, {0, 500000}) = 0 (Timeout)
> tgkill(24133, 24140, SIGUSR1)           = 0
> futex(0x7f9904f4e9d0, FUTEX_WAIT, 24140, NULL

It would be interesting to see which futex it is blocked on. One way to 
check that is perhaps to allow core dumps in the apache config and then 
to send a core dump signal like SEGV, BUS or similar when the process 
hangs. Use the dump file then to get a stack trace.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.