Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jbp@ddsdx2.jhuapl.edu (John Phelps)
Subject: Socket probs w/non-blocked I/O on OSF 1.3
Date: Thu, 13 Jan 1994 14:25:07 GMT	[thread overview]
Message-ID: <CJKo1x.2A9@aplcenmp.apl.jhu.edu> (raw)

    First of all, we've recently switched to a new newsfeed for our local
site and I'd like this to be a test post. Could a few of you kind hearted
souls please reply to my e-mail address letting me know that you saw this
message. I don't care who replies ... you all can coordinate it amongst
yourselves so I don't get a zillion replies :) SHYEAH!

    Anyway, to the problem.

    We have a large simulation system that uses a broadcast with receiver
selection paradigm for communicating between the various processes within
the system. I wrote the initial version of the comms package back in '89
for a Sun3 and everything worked fine. We recently had to resurrect the
project and I ended up porting the comms layer (client/server socket I/F)
to an Alpha running OSF 1.3.

    The problem that I'm currently facing is quite odd. One of our simul-
ations has well over 100 processes communicating through the socket server
and about 2 or 3 minutes into the run one of the processes gets a partial
receive of a 500-600 byte message. This isn't normally a problem because
the socket interface was written with fragmented send/recv in mind (ie.
typical socket operations). Once this partial receive happens, though, I
never get any indication from select that data is available on the socket.
The server thinks it's still sending info to the client but the client
never sees anything, and putting the client into a loop to constantly try
to recv from the socket only causes an endless stream of EWOULDBLOCK status
returns (expected when no data is present).

    Has anyone seen any behaviour like this ? (Please say yes)

--
John Phelps, jbp@ddsdx2.jhuapl.edu OR jbp@raven.jhuapl.edu


                 reply	other threads:[~1994-01-13 14:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox