[Zope] Transcience exceeds maximum number .. ZStylesheet bug?

Chris McDonough chrism@zope.com
01 Sep 2002 17:51:01 -0400


Optionally, if you don't want to spelunk the code, set the environment
variable ZSESSION_OBJECT_LIMIT to a value higher than 1000 in the shell
that you use to start Zope.

On Sun, 2002-09-01 at 17:12, Dieter Maurer wrote:
> Brad Clements writes:
>  > I'm beating up my Zope server with OpenSta (thanks for dropping the link on this list 
>  > the other day..)
>  > 
>  > My test fails after about 980 downloads, with the traceback below.
>  > 
>  > 1. I'm not using any session data.
>  > 
>  > 2. I have a ZStyleSheet, but it's just being rendered..
>  > 
>  > 3. No cache objects enabled on this test server.
>  > ...
>  > Error Type: TALESError
>  > Error Value: 
>  > Products.Transience.Transience.MaxTransientObjectsExceeded on 1000 
>  > exceeds maximum number of subobjects 1000 in '<PythonExpr 
>  > here.StyleSheet.style()>', at line 7, column 5
> Apparently, your assumption 1 is wrong:
> 
>   There is a session created for each of your requests.
> 
> I see two options:
> 
>   *  You extend your testing framework that is handles cookies.
> 
>      Then, instead of one new session per request, you will
>      just have a single session for all your requests.
> 
>   *  You find out what references "SESSION".
>      From your traceback, it seems that "ZSSAttribute.py, line 75"
>      is key to this question (although, it seems the "background-color"
>      is looked up, which, for strange reasons, seems to trigger
>      a DTML object).
> 
> 
> Dieter
> 
> _______________________________________________
> 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 )