Denis Perchine <dyp(at)perchine(dot)com> writes:
> On Monday 08 January 2001 00:08, Tom Lane wrote:
>>>> FATAL: s_lock(401f7435) at bufmgr.c:2350, stuck spinlock. Aborting.
>>
>> Were there any errors before that?
> No... Just clean log (I redirect log from stderr/out t file, and all
> other to syslog).
The error messages would be in the syslog then, not in stderr.
> And the last query was:
> Jan 7 04:27:53 mx postgres[1008]: query: select message_id from pop3 where
> server_id = 22615
How about the prior queries of other processes? Keep in mind that the
spinlock could have been left locked by any backend, not only the one
that complained about it.
regards, tom lane