|
|
|
|||||
|
locking in Connection
Both Connection::isFinished() and Connection::validate() use the same lock. When for some reason network I/O ::write() operation called inside validate() is stuck that connection is locked, but this hangs whole thread pool, because it calls isFinished() for each connection in it. Setting timeout for endoint helps a little. If it's 1 second, for that second Ice program is frozen when write() timeout happens.
The same problem we found in VisiBroker Java ORB two years ago. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connection problem. | laotee | Help Center | 12 | 09-05-2005 04:52 AM |
| Question about the Connection#5 | OrNot | Help Center | 1 | 08-07-2005 11:16 PM |
| Question about the Connection#4. | OrNot | Help Center | 3 | 07-22-2005 11:56 AM |
| Fix for locking bug in Ice 1.3.0 | bernard | Patches | 0 | 05-20-2004 05:53 PM |
| How to get connection info? | amrufon | Help Center | 15 | 08-26-2003 09:23 AM |