[Zope] SESSION Errors

Dennis Allison allison at sumeru.stanford.EDU
Thu Feb 19 16:30:41 EST 2004


Chris--
I need to squash this bug.  Any thoughts as to were to begin.  Have you
tried to locate the error?
	-d

On Thu, 19 Feb 2004, Chris McDonough wrote:

> Yes, this bug is in every version of Zope including the most recent. 
> Yes, it's bad.  Yes, it should be fixed.  I wish I had a fix for it.
> 
> - C
> 
> 
> On Thu, 2004-02-19 at 12:35, Dennis Allison wrote:
> > Accessing session variables fails occasionally--perhaps once every 10000
> > references or so!  (See collector issue #848 where I just added a
> > comment.)
> > 
> > Presumably this is a read conflict in temporary_folder.  The access to the 
> > variable uses a python script--
> > 
> > request=container.REQUEST
> > try:
> >     session=request['SESSION']
> >     return session[varname]
> > except KeyError:
> >     container.oopsSession( varname )
> >     raise
> > 
> > oopsSession() is a debug routine which reports that it cannot find
> > REQUEST.
> > 
> > This is Zope 2.6.2b3 and Python 2.1.3.  This version of Zope is patched to
> > NOT use the (flawed) LowConflictConnection for temporary storage.   
> > 
> > This is a critical bug for us and is becoming more so as our usage grows.
> > It's a showstopper for our users as we are entirely session based!
> > 
> > It's fairly likely that some internal data structure gets corrupted.  We
> > tend to fetch session variables in clusters, and when one fails all
> > subsequent ones fail.  Sad to say, the failure kills the user's session
> > and releases a burst of emotional energy )-:
> > 
> > Any suggestions for a fix or workaround?   This particular bug has been
> > seen in 2.7.4 so upgrading is not going to fix things.
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Zope maillist  -  Zope at zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list