HP3000-L Archives

February 1996, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dan Hollis <[log in to unmask]>
Reply To:
Dan Hollis <[log in to unmask]>
Date:
Fri, 2 Feb 1996 11:26:00 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
Howdy all,
 
I'm experiencing some bizarre IOWAIT problems.
 
Scenario 1:
-----------
Issue nowait I/O read on socket
Issue nowait I/O read on message file
IOWAIT
Socket I/O completes
Issue nowait I/O read on socket
IOWAIT
Message file I/O completes
(remote host now disconnects)
Socket I/O completes (ccode = 1, so program shuts down)
 
Scenario 2:
-----------
Issue nowait I/O read on socket
Issue nowait I/O read on message file
IOWAIT
Socket I/O completes
Issue nowait I/O read on socket
IOWAIT
(remote host now disconnects)
...
... minutes pass ...
...
... (IOWAIT never sees the disconnect! It seems to hang forever) ...
...
Message file I/O completes
IOWAIT
Socket I/O completes (ccode = 1, so program shuts down)
 
Problem : If there are outstanding message file reads, it appears to prevent
socket I/O errors from ever being returned to IOWAIT. The socket I/O never
completes until the message file I/O completes.
 
Anyone else see this? Solutions? (And *please* don't tell me to use socket
and/or message file read timeouts... I do *NOT* want this thing to poll. =P)
 
-Dan
.----------------------------------------------.
|Dan Hollis -- Pharmacy Computer Services, Inc.|
[log in to unmask]      -     (503)476-3139|
`----------------------------------------------'

ATOM RSS1 RSS2