[Zope-dev] Zope 2.X Session problems
alex at halogen-dg.com
alex at halogen-dg.com
Tue Apr 20 10:28:39 EDT 2004
Hi Chris,
On Wed, 3 Mar 2004, Chris McDonough wrote:
> Great, I'm going to consider that a resounding endorsement and check it
> in soon; please do let me know if you see anything odd come up.
>
> If anyone else has been having issues with the old Transience module,
> and would like to provide feedback on the newer implementation, please
> get this file:
>
> http://cvs.zope.org/*checkout*/Products/Transience/Transience.py?rev=1.32.12.2.2.2&only_with_tag=chrism-sessiongeddon
>
> ... and temporarily replace Zope's lib/python/Transience/Transience.py
> with this newer version to help test it out, and report back the results
> here.
I am using new Transience.py, and my temp_folder is on Sessions.fs ZODB
now. I have one problem with it - it does not seems that this way it
deletes old expired Sessions. The number of objects grow and grow, and
today we reached limit. I think I have to delete Sessions.fs every night
and restart Zope. Is it expected expected behavior when using file
storage? I was thinking that only problem of this kind of storage is the
need to pack the database sometimes.
---------- Forwarded message ----------
Date: Tue, 20 Apr 2004 08:52:00 +0100
From: atest at localhost.localdomain
To: alex at halogen-dg.com
Subject: test failed:
http://www.chalkface.com/catalog/html/custom/index.html?c_category_id=1
Testing URL http://www.chalkface.com/catalog/html/custom/index.html?c_category_id=1 ...
test #1 - failure, code 500
test #2 - failure, code 500
------------ [Details] -----------
Site Error
An error was encountered while publishing this resource.
MaxTransientObjectsExceeded
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 163, in publish_module_standard
* Module Products.iHotfix, line 80, in new_publish
* Module ZPublisher.Publish, line 127, in publish
* Module Zope.App.startup, line 203, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 100, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module OFS.DTMLDocument, line 128, in __call__
<DTMLDocument instance at 41156d40>
URL: http://www.chalkface.com/custom/index.html/manage_main
Physical Path:/www.chalkface.com/ZWarehouse_0.8/custom/index.html
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module DocumentTemplate.DT_Let, line 76, in render
* Module OFS.DTMLDocument, line 121, in __call__
<DTMLDocument instance at 4114fa40>
URL:
http://www.chalkface.com/catalog/html/zwarehouse_html_header/manag
e_main
Physical
Path:/www.chalkface.com/ZWarehouse_0.8/catalog/html/zwarehouse_htm
l_header
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module DocumentTemplate.DT_Util, line 201, in eval
__traceback_info__: cart_functions
* Module <string>, line 1, in <expression>
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.PythonScripts.PythonScript, line 318, in _exec
* Module None, line 16, in setSessionByRequest.py
<PythonScript at
/www.chalkface.com/ZWarehouse_0.8/catalog/cart_functions/setSessio
nByRequest.py>
Line 16
* Module ZPublisher.HTTPRequest, line 1218, in __getattr__
* Module ZPublisher.HTTPRequest, line 1178, in get
* Module Products.Sessions.SessionDataManager, line 93, in
getSessionData
* Module Products.Sessions.SessionDataManager, line 180, in
_getSessionDataObject
* Module Products.Transience.Transience, line 494, in
new_or_existing
* Module Products.Transience.Transience, line 300, in __setitem__
MaxTransientObjectsExceeded: 10000 exceeds maximum number of
subobjects 10000 (Also, an error occurred while attempting to render
the standard error message.)
_________________________________________________________________
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an
error.
For more detailed information about the error, please refer to error
log.
If the error persists please contact the site maintainer. Thank you
for your patience.
--
Alex V. Koval
http://www.halogen-dg.com/
http://www.zwarehouse.org/
More information about the Zope-Dev
mailing list