[Zope] Transience Error
Chris McDonough
chrism@zope.com
06 Nov 2002 18:10:27 -0500
No, this is what should be in there... this may be a BTrees package
bug. I'd suggest upgrading to Zope 2.6 if you continue to see it.
- C
On Wed, 2002-11-06 at 18:10, Jim Kutter wrote:
> This is what's there...
>
> for k in list(data.keys(None, delete_end)):
>
> Doh!
>
> I'll re-download and see if it happens again.
>
> Thanks!!
>
> -jim
>
> ----- Original Message -----
> From: "Chris McDonouogh" <chrism@zope.com>
> To: "Jim Kutter" <zope-list@ebizq.net>
> Cc: <zope@zope.org>
> Sent: Wednesday, November 06, 2002 5:49 PM
> Subject: Re: [Zope] Transience Error
>
>
> > Jim,
> >
> > Does line 681 in lib/python/Products/Transience.py look like this
> > for k in list(data.keys(None, delete_end)):
> >
> > ... or does it look like this:
> > for k in data.keys(None, delete_end)
> >
> > If it's the latter, please redownload the package and reinstall it
> > (there was a recent bugfix to this part of the code).
> >
> > Thanks!
> >
> > - C
> >
> > On Wed, 2002-11-06 at 17:30, Jim Kutter wrote:
> > > Sorry
> > >
> > > 2.5.1 Linux (binary install - python 2.1.3), The patch is from
> > >
> http://zope.nipltd.com/public/lists/dev-archive.nsf/b1b1e2c766c8f6c7802568c1
> > > 006328f1/cf3a86758036e3ea80256bfd00701917?OpenDocument
> > >
> > > As this was exactly the problems I ran into (and still do)
> > >
> > > On that machine I have a dual 866mhz, with 1GB ram (which is at 98%
> use).
> > > That machine is also running apache, mysql, and tomcat, and two zope
> > > instances. Killing tomcat doesn't help much.
> > >
> > > load average: 0.12, 0.16, 0.11
> > >
> > > So it's not terribly loaded, just memory starved - but starved with
> 1GB?.
> > >
> > > -jim
> > > ----- Original Message -----
> > > From: "Chris McDonouogh" <chrism@zope.com>
> > > To: "Jim Kutter" <zope-list@ebizq.net>
> > > Cc: <zope@zope.org>
> > > Sent: Wednesday, November 06, 2002 4:44 PM
> > > Subject: Re: [Zope] Transience Error
> > >
> > >
> > > > What version of Zope is this? Which patch do you mean?
> > > >
> > > > On Wed, 2002-11-06 at 15:38, Jim Kutter wrote:
> > > > > Hi Boys and Girls. Major bad news. I have serious problems with the
> > > > > Transience (specifically the sessioning mechanism) snarfing under
> high
> > > > > loads. Now before you jump to the rescue and mention the patch, I
> have
> > > > > already installed it, and no luck.
> > > > >
> > > > > What can I do to either reduce the load or circumvent this problem?
> > > > >
> > > > > Here's the traceback...
> > > > > <!--
> > > > > Traceback (innermost last):
> > > > > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 150,
> in
> > > > > publish_module
> > > > > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 114,
> in
> > > > > publish
> > > > > File /usr/local/zope/lib/python/Zope/__init__.py, line 159, in
> > > > > zpublisher_exception_hook
> > > > > (Object: membership)
> > > > > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 98, in
> > > publish
> > > > > File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 88, in
> > > mapply
> > > > > (Object: login.html)
> > > > > File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 39, in
> > > > > call_object
> > > > > (Object: login.html)
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.p
> > > > > y, line 252, in __call__
> > > > > (Object: login.html)
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.p
> > > > > y, line 283, in _bindAndExec
> > > > > (Object: login.html)
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/Products/PythonScripts/Pytho
> > > > > nScript.py, line 302, in _exec
> > > > > (Object: login.html)
> > > > > (Info: ({'script': <PythonScript instance at 8bc90b0>,
> > > 'context':
> > > > > <Folder instance at 8b1d2d8>, 'container': <Folder instance
> at
> > > > > 8b1d2d8>, 'traverse_subpath': []}, (), {}, None))
> > > > > File Script (Python), line 45, in login.html
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/AccessControl/ZopeGuards.py,
> > > > > line 47, in guarded_getattr
> > > > > File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line
> 851,
> > > in
> > > > > __getattr__
> > > > > File /usr/local/zope/lib/python/ZPublisher/HTTPRequest.py, line
> 837,
> > > in
> > > > > get
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/Products/Sessions/SessionDat
> > > > > aManager.py, line 92, in getSessionData
> > > > > (Object: session_data_manager)
> > > > > File
> > > > >
> > >
> /usr/local/src/Zope-2.5.1-linux2-x86/lib/python/Products/Sessions/SessionDat
> > > > > aManager.py, line 175, in _getSessionDataObject
> > > > > (Object: session_data_manager)
> > > > > File
> > > /usr/local/zope-prod/lib/python/Products/Transience/Transience.py,
> > > > > line 175, in new_or_existing
> > > > > (Object: session_data)
> > > > > File
> > > /usr/local/zope-prod/lib/python/Products/Transience/Transience.py,
> > > > > line 786, in get
> > > > > (Object: session_data)
> > > > > File
> > > /usr/local/zope-prod/lib/python/Products/Transience/Transience.py,
> > > > > line 599, in _getCurrentBucket
> > > > > (Object: session_data)
> > > > > File
> > > /usr/local/zope-prod/lib/python/Products/Transience/Transience.py,
> > > > > line 688, in _housekeep
> > > > > (Object: session_data)
> > > > > KeyError: (see above)
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Zope maillist - Zope@zope.org
> > > > > http://lists.zope.org/mailman/listinfo/zope
> > > > > ** No cross posts or HTML encoding! **
> > > > > (Related lists -
> > > > > http://lists.zope.org/mailman/listinfo/zope-announce
> > > > > http://lists.zope.org/mailman/listinfo/zope-dev )
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>