Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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.


What should be done?


Doug Royer                     |

               We Do Standards - You Need Standards

In response to

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group