Linux good! Re: [ZODB-Dev] Results from latest CVS code and trial patch

JohnD.Heintz JohnD.Heintz
Thu, 9 Aug 2001 15:29:49 -0500


Ergh!

Linux works just fine with the local CORBA clients, but a remote client=20
causes the system to hang for > 30 seconds.  It does come back and keep=20
running though!

Attached are thread traces from the CORBA Server/ZEO Client.  There are t=
wo=20
identical traces in the output file - I took one and then a second or so=20
later I took the other to show that the system hadn't moved yet.

I interpret the traces to show that the=20
r,w,e =3D select.select (r,w,e, timeout) is the important blocking call, =
while=20
the self._lock_acquire() is just a side-effect.

I'll try the asyncore.py patch on Linux next to see if it changes this=20
behavior.

John

On Thursday 09 August 2001 14:18, John D. Heintz wrote:
> I've run the cvs code on Linux now and have gotten really good results.
>
> I was able to connect 7 multiThreadClient.py processes to the server an=
d
> got reliable behavior - no exceptions.  I'll keep scaling this up to
> multi-machine and absolute stress as well.
>
> Jeremy, do you want me to try the asyncore.py patch on Linux?  Or do yo=
u
> think these good results are the way things should be?
>
> John
>
> On Thursday 09 August 2001 11:57, John D. Heintz wrote:
> > Hi Jeremy,
> >
> > Here is what we got from the latest CVS code and the suggested patch.
> >
> > trace1.txt is what we got on windows after going to the latest CVS co=
de.
> > It failed and every client died.
> >
> > trace2.txt is what we then got after applying the asyncore.py patch y=
ou
> > suggested.  This one hung for a long time then killed everything.
> >
> > John
>
> ----------------------------------------
> Content-Type: text/plain; charset=3D"iso-8859-1"; name=3D"trace1.txt"
> Content-Transfer-Encoding: base64
> Content-Description:
> ----------------------------------------
>
> ----------------------------------------
> Content-Type: text/plain; charset=3D"iso-8859-1"; name=3D"trace2.txt"
> Content-Transfer-Encoding: base64
> Content-Description:
> ----------------------------------------

--=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