[ZODB-Dev] ZEO select.error: (9, "Bad file desriptor")
JohnD.Heintz
JohnD.Heintz
Wed, 13 Jun 2001 11:50:17 -0500
I couldn't post this to the Tracker at www.zope.org/Products/ZEO/Tracker=20
because the service was unabailable.
This is really high priority for us. We installed Linux on two boxes bec=
ause=20
of a similiar problem on Windows and are getting panicy.
Thanks for any help,
John
-----------------------------------------------------------
We can't use ZEO (latest on StandaloneZODB) on Linux 2.4.x with mutliple=20
threads.
Getting the following traceback:
File=20
"/home/bonnell/src/bonnell/products/corbaFrameworks/ZODBCorbaFramework.py=
",=20
line 409, in _enterSession
conn.sync()
File=20
"/usr/local/stow/python/lib/python2.1/site-packages/ZODB/Connection.py", =
line=20
719, in sync
if sync !=3D 0: sync()
File=20
"/usr/local/stow/python/lib/python2.1/site-packages/ZEO/ClientStorage.py"=
,=20
line 605, in sync
def sync(self): self._call.sync()
File "/usr/local/stow/python/lib/python2.1/site-packages/ZEO/zrpc.py", =
line=20
185, in sync
try: r, w, e =3D select.select([self._fileno],[],[],0.0)
select.error: (9, 'Bad file descriptor')
This code break when we start using multiple threads instead of just one.=
=20
(Part of a stress testing framework.)
--=20
=2E . . . . . . . . . . . . . . . . . . . . . . .
John D. Heintz | Senior Engineer
1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com
w w w . d a t a c h a n n e l . c o m