Re: SR standby hangs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SR standby hangs
Date
Msg-id 21744.1303850734@sss.pgh.pa.us
Whole thread Raw
In response to Re: SR standby hangs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: SR standby hangs  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
I wrote:
> Well, that's pretty interesting: refcount is only 1, and the
> BM_PIN_COUNT_WAITER flag is not set.  AFAICS this *must* mean that the
> buffer had been pinned and whoever had it (presumably bgwriter) did
> UnpinBuffer().  So it appears that the signal just plain got lost :-(,
> which suggests a kernel bug.  What platform is this on, again?

BTW, could you confirm that the startup process's PID is 9111 as the
bufhdr suggests?  Also, it'd be good to confirm that
procglobal->startupProcPid and procglobal->startupProc point to the
startup process.  I notice that ProcSendSignal will silently do nothing
if it doesn't find the target process's PGPROC, which might have
something to do with this ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: SR standby hangs
Next
From: Andrew Dunstan
Date:
Subject: Re: SR standby hangs