Re: EINTR error in SunOS

Поиск
Список
Период
Сортировка
От Doug Royer
Тема Re: EINTR error in SunOS
Дата
Msg-id 43BA0768.8070008@Royer.com
обсуждение исходный текст
Ответ на Re: EINTR error in SunOS  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers

Greg Stark wrote:

>>I would vote for the kernel, if the server didn't respond within 5
>>seconds, to simply return EIO. At least we know how to handle that...
>
>
> How do you handle it? By having Postgres shut down? And then the NFS server
> comes back and then what?

Log the error if you can.
Refuse new connections - until it is back up.
Refuse or hang new queries - until it is back up.

Retry?

What should be done?

--

Doug Royer                     | http://INET-Consulting.com
-------------------------------|-----------------------------

               We Do Standards - You Need Standards


Вложения

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Stats collector performance improvement
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: psql & readline & win32