Re: EINTR error in SunOS

From: Doug Royer <Doug(at)Royer(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: EINTR error in SunOS
Date: 2006-01-03 05:11:04
Message-ID: 43BA0768.8070008@Royer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
Doug.vcf text/x-vcard 332 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-01-03 09:31:30 Re: psql & readline & win32
Previous Message Jan Wieck 2006-01-03 04:06:57 Re: Stats collector performance improvement