Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Re: Apache Children Stuck on futex
 

Index | Next | Previous | View Flat


max at maxbarry

Nov 13, 2011, 7:42 PM


Views: 1839
Permalink
Re: Apache Children Stuck on futex [In reply to]

On 29/10/11 22:43, Torsten Förtsch wrote:
> 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

Thank you very much for the reply! Here is the result:

http://pastebin.com/YDbmq84w

This shows me:
* running the Apache benchmarking utility to generate lots of requests
* identifying a process hung in 'futex_wait' (11447)
* killing it with SEGV
* obtaining a stack trace

Max.

Subject User Time
Apache Children Stuck on futex sean.thorne at gmail Jun 23, 2009, 8:52 PM
    Re: Apache Children Stuck on futex max at maxbarry Oct 25, 2011, 8:56 PM
        Re: Apache Children Stuck on futex max at maxbarry Oct 26, 2011, 3:06 PM
            Re: Apache Children Stuck on futex fred at redhotpenguin Oct 26, 2011, 7:16 PM
                Re: Apache Children Stuck on futex max at maxbarry Oct 27, 2011, 3:21 PM
        Re: Apache Children Stuck on futex torsten.foertsch at gmx Oct 29, 2011, 4:43 AM
            Re: Apache Children Stuck on futex max at maxbarry Nov 13, 2011, 7:42 PM
                Re: Apache Children Stuck on futex torsten.foertsch at gmx Nov 14, 2011, 6:26 AM
                    Re: Apache Children Stuck on futex max at maxbarry Nov 14, 2011, 3:36 PM
                        Re: Apache Children Stuck on futex max at maxbarry Mar 5, 2012, 5:47 PM
    Re: Apache Children Stuck on futex salusa at nationstates Feb 13, 2012, 8:00 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.