URL:
<http://savannah.cern.ch/bugs/?78664>
Summary: Client's parallel socket setup is not thread safe.
Project: XROOTD
Submitted by: abh
Submitted on: 2011-02-24 01:24
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: ljanyst
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It has become pretty clear in our testing of proxies that the parallel socket
setup code in XrdClient (i.e., stuff related to XrdClientPSock) is not
thread-safe. We get consistent failures (no crashes just bizarre hangs,
incorrect sockets getting created, complaints of non-existent conditions)
when the client code is driven my multiple threads and the number of parallel
streams per socket is set to be >1. It never happens when we don't use
parallel streams nor does it happen if we run through the code multiple times
but one thread at a time.
This makes the use of parallel sockets for proxy servers as well as XrootdFS
unusable. Parallel sockets still work fine in xrdcp since that code is single
threaded.
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?78664>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
|