[omniORB] sockets in CLOSE_WAIT for 2 min

Slawomir Lisznianski slisznianski at asyncnet.com
Fri Aug 19 09:55:24 BST 2005


Hello,

I noticed that after a graceful shutdown from a client (after issuing
ORB destroy() and all that), the server sockets are in CLOSE_WAIT state
for about 2 minutes. Shouldn't these sockets be closed right away? Our
servers are hit by a lot of short-lived clients and the concern is that
we may run out of available file descriptors. Using
oneCallPerConnection=0, to conserve resources, doesn't really work
because of the occasional assertion in the iiopRoap.cc file (line 374,
omniORB 4.0.6) while in this mode (refer to previous post for details).

Any advice?

Regards,
Slawomir



More information about the omniORB-list mailing list