[ZCM] [ZC] 848/ 3 Comment "Errors in Sessions"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin@zope.org
Wed, 28 May 2003 11:17:15 -0400


Issue #848 Update (Comment) "Errors in Sessions"
 Status Pending, Zope/bug critical
To followup, visit:
  http://collector.zope.org/Zope/848

==============================================================
= Comment - Entry #3 by mcdonc on May 28, 2003 11:17 am

I have made the temporary folder's connection a "normal" connection (as opposed to a LowConflictConnection) for 2.6.2.  This should fix the KeyError out of 'get'.  I suspect a problem will remain under high load with a KeyError out of 'load', but I have not been able to reproduce this problem.
________________________________________
= Comment - Entry #2 by neaj on May 28, 2003 4:55 am

The discussion of this issue is at:
  http://mail.zope.org/pipermail/zope-dev/2003-March/019081.html
________________________________________
= Request - Entry #1 by Anonymous User on Mar 13, 2003 7:14 am

We've had 2 related problems with Sessions since upgrading to Zope-2.6.x (from 2.4.4). We cannot reproduce either one reliably, but they occur daily now on at least a couple of our live sites. And afterwards, any attempts at using Sessions raises one of the KeyError exceptions below. One other item of note is that these errors seems to have increased greatly in frequency recently when we added some calls to hasSessionData(). 

Please feel free to contact me if I can help in any way. I'm working on this full time until it gets fixed. I'll email updates on any progress I make.

Here are the 2 tracebacks:

Traceback #1 occurs most frequently. The KeyError's value is an unprintable string of non-ascii characters.

* Module ZPublisher.Publish, line 150, in publish_module
* Module ZPublisher.Publish, line 114, in publish
* Module The application server.App.startup, line 182, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module App.special_dtml, line 61, in __call__
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module Products.Transience.Transience, line 342, in nudge
* Module Products.Transience.Transience, line 467, in _getCurrentBucket
* Module Products.TemporaryFolder.LowConflictConnection, line 34, in setstate
* Module Products.TemporaryFolder.TemporaryStorage, line 94, in load
KeyError:

Traceback #2 happens less frequently, though today it seemed like it was trying to catch up (3 of these today).

* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module OFS.DTMLMethod, line 126, in __call__
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module Products.DotOrg.Pages.KContent, line 149, in __call__
* Module Products.DotOrg.Pages.KContent, line 194, in getEditInfo
* Module Products.DotOrg.Pages.KContent, line 506, in hasSessionData
* Module Products.Sessions.SessionDataManager, line 101, in hasSessionData
* Module Products.Sessions.SessionDataManager, line 175, in _hasSessionDataObject
* Module Products.Transience.Transience, line 838, in has_key
* Module Products.Transience.Transience, line 807, in get
KeyError: 1047409860 



==============================================================