Re: windows shared memory error

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: windows shared memory error
Дата
Msg-id 49FB1561.3060304@dunslane.net
обсуждение исходный текст
Ответ на Re: windows shared memory error  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers

Heikki Linnakangas wrote:
> Dave Page wrote:
>> On Fri, May 1, 2009 at 12:59 AM, Andrew Dunstan <andrew@dunslane.net> 
>> wrote:
>>> It strikes me that we really need to try reconnecting to the shared 
>>> memory
>>> here several times, and maybe the backoff need to increase each 
>>> time. On a
>>> loaded server this cause postgres to fail to restart fairly reliably.
>>
>> At the risk of sounding predictable, +1. Maybe try 5 times, repeating
>> at 1, 2, 4 & 8 seconds? Any longer seems like it will be a genuine
>> failure (so does 8 seconds in fact, but I don't suppose it'll hurt to
>> try).
>
> 1+2+4+8 = 15 seconds
>

15 seconds beats the hell out of not restarting at all.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Throw some low-level C scutwork at me
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: windows shared memory error