Re: [HACKERS] EINTR error in SunOS

2006-01-02 Thread Doug Royer
u 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 Stan

Re: [HACKERS] EINTR error in SunOS

2006-01-02 Thread Doug Royer
or at EOF... } return(bytesRead); d) say "if you mount 'soft' and lose data, tough luck for you" I seem to recall from my days at Sun, you should NOT use soft mount for NFS writes at all. Soft mounts are for non-critical disk resources. (Solaris

Re: [HACKERS] EINTR error in SunOS

2006-01-01 Thread Doug Royer
ge suspect, meaning we want NFS to be as non-failure mode as possible. Making PostgreSQL work on NFS system itself is risky, and allowing it to work on systems that will soft-failure on writes seems even worse. -- Doug Royer | http://INET-Cons

Re: [HACKERS] EINTR error in SunOS

2006-01-01 Thread Doug Royer
The MOUNT options are opposite. Linux NFS mount - defualts to no-intr Solaris NFS mount - default to intr Doug McNaught wrote: Doug Royer <[EMAIL PROTECTED]> writes: From the Linux 'nfs' man page: intr If an NFS file operation has a major t

Re: [HACKERS] EINTR error in SunOS

2006-01-01 Thread Doug Royer
thing. You can get EINTR with hard+intr mounts. I am not sure what you get with soft mounts on a timeout. Doug McNaught wrote: Doug Royer <[EMAIL PROTECTED]> writes: The 'intr' option to NFS is not the same as EINTR. It it means 'if the server does not respond for a wh

Re: [HACKERS] EINTR error in SunOS

2005-12-31 Thread Doug Royer
ones documented in the specification. So in other words, just about any function can signal just about any error including errors that are proprietary additions any time. Good luck :) -- Doug Royer | http://INET-Consulting.com ---|--

Re: [HACKERS] Announcement: planned open source billing system demonstration

2003-09-24 Thread Doug Royer
integrated into large IT infrastructures such as those found in healthcare institutions, clinics and physician practices. . -- Doug Royer | http://INET-Consulting.com ---|- [EMAIL PROTECTED] | Office

Re: [HACKERS] [GENERAL] division by zero

2003-03-10 Thread Doug Royer
Merlin Moncure wrote: Doug Royer wrote: No, try/catch does not trap division by zero unless the underlying implementation throws an error there is nothing to catch. I am absolutely 100% sure that you can catch int/0 with a try catch handler (in c++) on windows platforms (when compiled with ms

Re: [HACKERS] [GENERAL] division by zero

2003-03-10 Thread Doug Royer
/catch system. No, try/catch does not trap division by zero unless the underlying implementation throws an error there is nothing to catch. On Unix's trap for signal SIGFPE - standard POSIX. -- Doug Royer | http://INET-Consultin