[Zope-dev] Zope 2.X Session problems
Kris Erickson
kris.erickson at utoronto.ca
Thu May 6 13:15:14 EDT 2004
No, that's not the problem;
in THEORY that's what is happening, but in reality there is no way that
this is the case;
We just unrolled a registration system with participation rates at or
around 100 to 200 participants per month;
At any given time, monitoring the session data container, there are *at
most* 1 or 2 items in the transient object container--EXCEPT when it
spikes...
The problem is of course, when it floods, the
MaxTransientObjectsExceeded error occurs site wide (the whole site
crumbles and returns the error); because it's just passing back to
Exception, there aren't really any useful details that get carried
forward to the log (why it occured, last script that executed it, etc).
So, question--is there a way for these errors to occur internally (i.e.
an improperly looping script setting null values into session, on-error
demanding that session create a new object to try it again, ad
infinitum), or is it possible that an external barrage of requests
(denial-of-service?) is flooding the transient object container?
ideas?
k
Chris McDonough wrote:
> The data object timeout value was what I needed. I'm afraid though that
> in this case I don't have a good answer for why they're not being
> expired. I will put looking into this on my todo list.
>
> On Tue, 2004-05-04 at 09:32, Alex V. Koval wrote:
>
>>Hi Chris,
>>
>>On Wed, 21 Apr 2004 11:36:59 -0400, Chris McDonough <chrism at plope.com>
>>wrote:
>>
>>
>>>What do you have the transient object timeout set for?
>>
>>Do you mean this (/temp_folder/session_data):
>>
>> >> Data object timeout value in minutes: 20
>>
>>Also, here is a part of zope.conf for your reference:
>># from Chris
>><zodb_db temporary>
>> # Temporary storage database (for sessions)
>> <filestorage>
>> path $INSTANCE/var/Sessions.fs
>> </filestorage>
>> mount-point /temp_folder
>> container-class Products.TemporaryFolder.TemporaryContainer
>></zodb_db>
>>
>>Regards.
>
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
More information about the Zope-Dev
mailing list