Bug 3028 - FDs leaked when attempting connection to unreachable host
: FDs leaked when attempting connection to unreachable host
Globus XIO
: 3.2.1
: PC Linux
: P3 major
: ---
Assigned To:
: 3010
  Show dependency treegraph
Reported: 2005-03-29 11:09 by
Modified: 2005-03-29 12:46 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2005-03-29 11:09:47
When attempting a connection (i.e., ...register_connection) to a host that is 
unreachable, the callback will not get invoked (it appears) and a cancel 
(i.e., ...register_cancel) will not free the FD. The FD is leaked and a long 
running service will eventually use its allocation of FDs.

The bug was encountered by an RLS user. RLS uses the globus_io interfaces to 
xio. This bug blocks 3010. A fix is needed for GT 3.2.1 (for RLS users on GT3) 
and for the development branch.
------- Comment #1 From 2005-03-29 11:10:30 -------
Add 'bug ... blocks' 3010
------- Comment #2 From 2005-03-29 12:46:09 -------
The connected socket wasn't being closed on canceled or timedout requests.  
This has been fixed in both the trunk and the 3.2 branch.  An update package to 
3.2.1 has also been made available on the advisories page.