comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Interrupted System Calls reading from NFS on Sun Solaris
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Interrupted System Calls reading from NF [message #2436 is a reply to message #2369] Thu, 30 June 1994 10:56 Go to previous messageGo to previous message
sitongia is currently offline  sitongia
Messages: 4
Registered: August 1993
Junior Member
In article ar9@ncar.ucar.edu, caron@acd.ucar.edu (John Caron) writes:
> I know that interrupted system calls in UNIX are a normal occurence. The
> correct thing to do is (almost always) to simply re-issue the call.
> (See Leffler et al, p 47-48). What is surprising is that this behavior
> is seen at this high of an API. Typically you are using some library routine
> that takes care of it (e.g. fread()). What is READ_FLOATS actually calling?
> If it is calling an i/o routine that does not handle return EINTR, (read() ?)
> then I would guess that the correct solution is that READ_FLOATS should
> handle it (by looking for it and then reissuing read), and not
> allow it to propagate up.

Thank you for your explanation. READ_FLOATS is calling READU. Perhaps there's
a way to do error handling and retry the read in READ_FLOATS. At this point
we've been running successfully for a short time since I've removed the "intr"
mount option. The filesystem is automounted hard,fg, without intr. Next I'll
try mounting background to avoid clients hanging, of course.

---
--Leonard E. Sitongia HAO Sun Unix System Manager
sitongia@ncar.ucar.edu voice: (303)497-1509 fax: (303)497-1589
High Altitude Observatory P.O. Box 3000 Boulder CO 80307 USA
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fast 1-D Interpolation
Next Topic: Timing results - matrix multiply vs. indexing

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:53:19 PDT 2025

Total time taken to generate the page: 1.44000 seconds