Bug 617 - ungraceful failure when client limit is reached on NT
Summary: ungraceful failure when client limit is reached on NT
Status: ASSIGNED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.1.5
Hardware: x86 Windows NT
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2000-07-22 20:53 CDT by Marina Spivak
Modified: 2000-12-03 23:29 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marina Spivak 2000-07-22 20:53:53 CDT
When the maximum number (FD_SETSIZE imposed limit) of clients connected to a 
server is reached, the next client attempting to connect to the server is 
forever blocked in its own reactor.  Seems like an 'ungraceful' failure.  
Ideally, the client call should either result in failure or it should block
until a handle in the server frees up, and succeed ...

The behaviour descirbed above was observed with TAO server running on NT, and 
all clients on Solaris 5.7.  I don't know whether same behaviour is present 
with other platform combinations, e.g., NT/NT, Solaris/Solaris, etc.
Comment 1 Irfan Pyarali 2000-07-23 15:01:59 CDT
Sounds like connection recycling is involved. Kirthika, can you please take a 
look at this?
Comment 2 kirthika 2000-07-23 15:43:12 CDT
Put it on my Todo list. Marina could you provide a stack trace if possible?
Comment 3 Marina Spivak 2000-12-03 23:26:52 CST
Bala has revamped connection management so this may or may not still be a 
problem.  We need to test it out.  A simple test is to set FD_SETSIZE to some 
small value, start a simple server, and have a perl script start a bunch of 
clients (# clients > FD_SETSIZE). Each client establishes a connection to the 
server (i.e., invokes some method) and then sleeps for some amount of time 
before exiting (to achieve the first client still being connected to the server 
when the last one is trying to connect).  If everything is fine, all the 
clients will eventually terminate.  If the problem is still there, some of the 
clients will get forever blocked.

To tao-support pool.
Comment 4 Marina Spivak 2000-12-03 23:29:12 CST
Accepting for tao-support.