Re: recovery is stuck when children are not processing SIGQUIT from previous crash

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-admin@postgresql.org
Date: 2009-09-25T16:27:58Z
Lists: pgsql-hackers
Peter Eisentraut wrote:

> strace on the backend processes all showed them waiting at
> 
> futex(0x7f1ee5e21c90, FUTEX_WAIT_PRIVATE, 2, NULL
> 
> Notably, the first argument was the same for all of them.
> 
> I gather that a futex is a Linux kernel thing, which is probably then
> used by glibc to implement some pthreads stuff.  Anyone know more?

Maybe a backtrace from GDB would tell us more.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support