Re: SIGUSR1 pingpong between master na autovacum launcher causes crash

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: SIGUSR1 pingpong between master na autovacum launcher causes crash
Дата
Msg-id 1251117387.3252.24.camel@localhost
обсуждение исходный текст
Ответ на Re: SIGUSR1 pingpong between master na autovacum launcher causes crash  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: SIGUSR1 pingpong between master na autovacum launcher causes crash  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Zdenek Kotala píše v po 24. 08. 2009 v 13:47 +0200:

> I tested Alvaro's patch and it works, because it does not lead to stack
> consumption, but it shows another bug in StartAutovacuumWorker() code.
> When fork fails bn structure is freed but 
> ReleasePostmasterChildSlot() should be called as well. See error:
> 
> 2009-08-24 11:50:20.360 CEST 3468 FATAL:  no free slots in PMChildFlags array
> 
> and comment in source code:
> 
> /* Out of slots ... should never happen, else postmaster.c messed up */
> 

Just a confirmation that Alvaro's patch+ReleasePostmasterChildSlot() fix
solves the problem and PostgreSQL survives well during a memory
shortages.
Zdenek 



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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: SIGUSR1 pingpong between master na autovacum launcher causes crash
Следующее
От: Andrew Dunstan
Дата:
Сообщение: hba load error and silent mode