Re: Autovacuum daemon terminated by signal 11

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autovacuum daemon terminated by signal 11
Дата
Msg-id 23774.1232259342@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autovacuum daemon terminated by signal 11  ("Justin Pasher" <justinp@newmediagateway.com>)
Список pgsql-general
"Justin Pasher" <justinp@newmediagateway.com> writes:
>> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>> Anyway, it happens consistently on my HP box.  I find that your proposed
>> patch fixes it, but makes the "normal" path crash :-( --- the loop in
>> do_autovacuum has to be executed in AutovacMemCxt, because it creates an
>> Oid List that gets passed to vacuum() and had better not be in a
>> transaction-lifetime context.  The attached modified patch works for me.

> I tried both Alvaro's patch and your patch, and I actually got the same
> results from both.

Alvaro's patch would most likely not crash in a non-assert-enabled
build, since the list wouldn't be physically damaged when the containing
context got freed.  But obviously that's a risky thing ...

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Justin Pasher"
Дата:
Сообщение: Re: Autovacuum daemon terminated by signal 11
Следующее
От: searchelite
Дата:
Сообщение: Re: auto insert data every one minute