Open( ) calls in one RTP causing a socket failure in another RTP using Seaweed X11

Open( ) calls in one RTP causing a socket failure in another RTP using Seaweed X11

Post by Jenn » Wed, 29 Nov 2006 08:20:22


We have a system with several RTPs, and are experiencing a problem
where an RTP using the Seaweed X11 library can't bring up its display-
the library is crashing trying to open a socket. We took out the rest
of the RTPs in our system, and narrowed the offending code to the
opening of 5 pipe devices in another RTP. We call pipeDevCreate() then
an open() on each. It's the open call that causes the socket failure
in the other RTP. It can open up to 4 and not affect the other RTP,
but the fifth one kills it. The open calls are all successful, and
return valid file descriptors. We tried adjusting the max file
descriptors, max devices, and pretty much all the other kernel resource
limits to a high number to no avail.

We successfully open and use at least 60 pipes in our other RTPs, but
when we add the RTP with the X11 library it dies, and since the problem
is within the COTS library we can't debug it. At this point we have
all the other RTPs removed except for a single RTP opening the 5 pipes
to replicate the problem.

Has anyone run into something similar? Any tips or advice would be
appreciated.

Thanks,

Jenna