More info Re: [ZODB-Dev] ZEO select.error: (9, "Bad file desriptor")
JohnD.Heintz
JohnD.Heintz
Wed, 13 Jun 2001 16:44:36 -0500
Andrew:
Well, the socket is indeed getting closed. Here is the stack trace info =
I=20
have gotten:
This is the exception raised by asyncore:
Traceback (most recent call last):
File "/usr/local/stow/python/lib/python2.1/asyncore.py", line 95, in po=
ll
obj.handle_read_event()
File "/usr/local/stow/python/lib/python2.1/asyncore.py", line 385, in =
=20
handle_read_e=
vent
self.handle_read()
File "/usr/local/stow/python/lib/python2.1/site-packages/ZEO/smac.py", =
line=20
119, in handle=
_read
d=3Dself.recv(8096)
File "/usr/local/stow/python/lib/python2.1/asyncore.py", line 351, in r=
ecv
raise socket.error, why
error: (11, 'Resource temporarily unavailable')
And here is the frame stack for how close() is called:
Thread:8200 Frame:<frame object at 0x84db158>
/root/src/bonnell/products/thor_corba/thorServants.py:1176
return getObjRefList(self._tryCommitFunction(=20
self._domainObj.getBranches, () ),
=20
/home/bonnell/src/bonnell/products/corbaFrameworks/ZODBCorbaFramework.py:=
254
result =3D self._tryFunction(func, args)
=20
/home/bonnell/src/bonnell/products/corbaFrameworks/ZODBCorbaFramework.py:=
238
result =3D apply(func, args)
thor_core/thorPersistence.py:78
thor_core/apaManager/apaManager.py:235
thor_core/apaManager/apaManager.py:282
thor_core/entityRepository/entityRepository.py:176
thor_core/thorPersistence.py:73
thor_core/entityRepository/entityRepository.py:183
thor_core/thorPersistence.py:73
thor_core/snapCM/snapCM.py:378
/usr/local/stow/python/lib/python2.1/site-packages/ZODB/Connection.py=
:519
p, serial =3D self._storage.load(oid, self._version)
=20
/usr/local/stow/python/lib/python2.1/site-packages/ZEO/ClientStorage.py:3=
54
p, s, v, pv, sv =3D self._call('zeoLoad', oid)
/usr/local/stow/python/lib/python2.1/site-packages/ZEO/zrpc.py:214
else: self.readLoop()
/usr/local/stow/python/lib/python2.1/site-packages/ZEO/zrpc.py:194
asyncore.poll(60.0, self)
/usr/local/stow/python/lib/python2.1/asyncore.py:101
obj.handle_error()
/usr/local/stow/python/lib/python2.1/asyncore.py:415
self.close()
/usr/local/stow/python/lib/python2.1/site-packages/ZEO/zrpc.py:298
stackFrameHelper.printStack()
/home/bonnell/src/bonnell/products/bonnellCommon/stackFrameHelper.py:=
52
_printStack(frame)
This error is then followed up by a ZEO.smac.Disconnected error, not a=20
suprise.
Then I get the socket.error (9, "Bad file descriptor") error, also not a=20
suprise.
--=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