[issue12364] Timeout (1 hour) in test_concurrent_futures.tearDown() on sparc solaris10 gcc 3.x

STINNER Victor report at bugs.python.org
Tue Jun 21 01:27:40 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Message on a stackoverflow thread:

"I have suffered from the same problem, even if connecting on localhost in python 2.7.1. After a day of debugging i found the cause and a workaround:

Cause: BaseProxy class has thread local storage which caches the connection, which is reused for future connections causing "broken pipe" errors even on creating a new Manager

Workaround: Delete the cached connection before reconnecting

if address in BaseProxy._address_to_local:
    del BaseProxy._address_to_local[self.address][0].connection"

http://stackoverflow.com/questions/3649458/broken-pipe-when-using-python-multiprocessing-managers-basemanager-syncmanager/5884967#5884967

---

See also maybe the (closed) issue #11663: multiprocessing doesn't detect killed processes

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12364>
_______________________________________


More information about the Python-bugs-list mailing list