Re: BUG #3883: Autovacuum deadlock with truncate?
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #3883: Autovacuum deadlock with truncate? |
| Дата | |
| Msg-id | 18742.1200619193@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #3883: Autovacuum deadlock with truncate? ("Steven Flatt" <steven.flatt@gmail.com>) |
| Ответы |
Re: BUG #3883: Autovacuum deadlock with truncate?
|
| Список | pgsql-bugs |
"Steven Flatt" <steven.flatt@gmail.com> writes:
> On 1/17/08, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What I think might be happening is a three-way deadlock involving these
>> two and a third process that has the desired buffer lock. Have you got
>> anything else that seems to be stuck?
> Don't see a third process that is stuck...
Hmm. The only other theory I can think of is that some process forgot
about a buffer pin it was holding, or the wakeup signal to release the
autovac process somehow got lost; either of which would be significant
bugs.
Do you still have the hung processes available? It would be really
useful to take a look at the buffer header that the autovac process's
LockBufferForCleanup() is working on. (In gdb, "f 3" then "p *bufHdr")
regards, tom lane
В списке pgsql-bugs по дате отправления: