Re: recovery is stuck when children are not processing SIGQUIT from previous crash
Marko Kreen <markokr@gmail.com>
From: Marko Kreen <markokr@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-admin@postgresql.org
Date: 2009-11-12T12:19:51Z
Lists: pgsql-hackers
On 11/12/09, Peter Eisentraut <peter_e@gmx.net> wrote: > On lör, 2009-09-26 at 12:19 -0400, Tom Lane wrote: > > Peter Eisentraut <peter_e@gmx.net> writes: > > > 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. > > > > Probably means they are blocked on semaphores. Stack traces would > > be much more informative ... > Looks like a race condition or lockup in the syslog code. AFAICS syslog() is not safe to use in signal handler: http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03_03 -- marko