Here is a patch. The version is 3.6.2 and was distributed with Zope 2.9.5.
Thank you, Paul Williams -----Original Message----- From: Christian Theune [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 9:43 AM To: Paul Williams Cc: zodb-dev@zope.org Subject: Re: [ZODB-Dev] zeo client patch in connection.py Hi, could you send this again as a patch produced using `diff` against your original sources OR tell us which version of Zope/ZODB you used as the starting point for this patch. Thanks, Christian Am Mittwoch, den 07.03.2007, 08:52 -0600 schrieb Paul Williams: > Hi Everyone, > > We were experience problems with our zeo client setup on redhat rhel4. > The client would just quit responding. No memory or cpu increase was > associated with this. The client would remain hung until it was > restarted. > > We looked on the client using Netstat and the status was ESTABLISHED > with the zeo server. On the zeo server the netstat said LISTENING. > > When running the deadlockdebugger, one thread was in asnycore wait. > The others were normal actions such as folder listing or folder > contents. > > We implemented a couple of lines of code on line 641 of connection.py > in the ZEO/zrpc packages > > We added and else clause to call self.close() if delay is over one > second. We found that one second wasn't quite enough and moved it to > 5 seconds. > > Now we find out that this drastically improved our performance. The > servers are now < 1 second per page load. Before, they could be 5 > seconds or more, if they loaded at all. Also, our servers used to > crash several times a day and they now haven't crashed in almost a > week. > > I just wanted to put this out there and see if anyone has any comments > at all. I need to get a more permanent solution than this, but it is > what we have for now. > > System Configuration > Zope 2.9.5 > Plone 2.5.1 > Python 2.4.3 > Redhat Rhel4 > > Communications between our zeo clients and zeo server only route > through a switch. > > > Thank you for any help, > Paul Williams > > > _______________________________________________ > For more information about ZODB, see the ZODB Wiki: > http://www.zope.org/Wikis/ZODB/ > > ZODB-Dev mailing list - ZODB-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zodb-dev -- gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development
connection.py.patch
Description: connection.py.patch
_______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev