Joachim, The "TransientObjectContainer" class (of which the session_data object is an instance) was rewritten recently in response to problems like this under high load. Apologies for the trouble, but it should be easily fixable by updating to the latest code.
You can either to download the newer "Transience" Product by way of http://cvs.zope.org/Products/Transience/Transience.tar.gz?tarball=1 and replace the existing Transience Product in Zope 2.5.1 (in lib/python/Transience) with the files in the tarball or you can begin to run the Zope trunk code (which already has the new Product). HTH, - C ----- Original Message ----- From: "Joachim Werner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 3:23 PM Subject: [Zope-dev] Massive Problems with sessions > Hello! > > Suddenly I am getting massive problems with Zope 2.5.1 sessions. The Zope > instance was upgraded from 2.5.0 to 2.5.1 and has a lot more load now as it > is in production. Nothing else has changed I guess. > > The problems: > > Frequent "duplicate key errors", and now a new one when I try to enter the > session_data container (standard install with a temporary folder storing the > sessions): > > Site Error > An error was encountered while publishing this resource. > > KeyError > > Sorry, a site error occurred. > > Traceback (innermost last): > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/ZPublisher/P ublish > .py, line 151, in publish_module > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/ZPublisher/P ublish > .py, line 114, in publish > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/Zope/__init_ _.py, > line 159, in zpublisher_exception_hook > (Object: session_data) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/ZPublisher/P ublish > .py, line 98, in publish > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/ZPublisher/m apply. > py, line 88, in mapply > (Object: manage_container) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/ZPublisher/P ublish > .py, line 39, in call_object > (Object: manage_container) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/App/special_ dtml.p > y, line 61, in __call__ > (Object: manage_container) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/DocumentTemp late/D > T_String.py, line 473, in __call__ > (Object: manage_container) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/Products/Tra nsienc > e/Transience.py, line 403, in nudge > (Object: session_data) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/Products/Tra nsienc > e/Transience.py, line 364, in _getCurrentBucket > (Object: session_data) > File > /usr/local/zope-instances/Zopes/Zope-2.5.1-src/lib/python/Products/Tra nsienc > e/Transience.py, line 390, in _clean > (Object: session_data) > KeyError: 21934557A0Y4KtUyZjs > > One additional information that might help: The session manager is used from > different URLs that point to the same Zope. Can this be the reason for > problems? Is there a way of fixing that, e.g. using certain path information > in the browser id manager? > > > Any hints? > > Joachim > > > > _______________________________________________ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )