Bug 3543 - Race condition with 1 server and 300 clients
Summary: Race condition with 1 server and 300 clients
Status: RESOLVED FIXED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.6.7
Hardware: All All
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on: 3545
Blocks: 3546 3553
  Show dependency tree
 
Reported: 2009-01-12 07:42 CST by Johnny Willemsen
Modified: 2009-02-23 03:05 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 Johnny Willemsen 2009-01-12 07:42:03 CST
when one server is used with 300 clients we see a race condition when multiple server threads wait for the connection back to the client.
Comment 1 Johnny Willemsen 2009-01-12 12:57:47 CST
Mon Jan 12 18:41:46 UTC 2009  Johnny Willemsen  <jwillemsen@remedy.nl>

        * tao/Transport.cpp (register_if_necessary):
          Don't check if the transport is registered, we could get a thread
          switch between the check and the registration. Also only when the
          register_handler returns -1 we have a failure, with 1 it is already
          registered. This fixes bugzilla 3543

Comment 2 Johnny Willemsen 2009-01-17 03:10:00 CST
reopen, with 1000 clients things still fail, there can only be 512 connections in the cache, seems a race conditions in the transport cache
Comment 3 Johnny Willemsen 2009-01-21 14:31:38 CST
dep
Comment 4 Johnny Willemsen 2009-02-23 03:05:24 CST
fixed