Re: EINTR error in SunOS - Mailing list pgsql-hackers

From Doug Royer
Subject Re: EINTR error in SunOS
Date
Msg-id 43BA0768.8070008@Royer.com
Whole thread Raw
In response to Re: EINTR error in SunOS  (Greg Stark <gsstark@mit.edu>)
List 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


Attachment

pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Stats collector performance improvement
Next
From: "Magnus Hagander"
Date:
Subject: Re: psql & readline & win32