ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb
zodb
Re: [ZODB-Dev] cache-size-bytes usable?
by Andreas Jung other posts by this author
Nov 7 2009 9:34AM messages near this date
[ZODB-Dev] cache-size-bytes usable? | Re: [ZODB-Dev] cache-size-bytes usable?
Am 07.11.09 18:25, schrieb Hanno Schlichting:
>  Hi.
> 
>  I've been playing around with the new "cache-size-bytes" setting to
>  limit the ZODB cache sizes.
> 
>  My ZODB 3.9.3 (Zope 2.12 / Plone) config had a setting of
>  cache-size-bytes to 128mb and a cache-size of one million (to
>  effectively disable the object number based checks). This was without
>  ZEO, a simple FileStorage with a blobstorage enabled.
> 
>  When using and testing this for a while in a setup with two database
>  connection threads, things worked fine for a while, but after 10 to 15
>  minutes of various load patterns things broke down. Both connections
>  started to minimize their connection cache down to zero objects
>  continuously.
> 
>  It looks like the active cache size isn't properly reduced at some
>  point and as a result the cache thinks it is already using the maximum
>  amount.
> 
>  Has anyone used the bytes limited cache in production yet and has any
>  experience with it?
> 
>  I can try to isolate the problem some more. Playing around I did
>  everything from loading objects, packing the database, minimizing
>  caches, so it's hard to know what might cause this.

I would assume that this feature is working since it comes
from the Haufe Zope fork afaik and likely we are using it in production.
But I have to check this by digging through the legacy of the
origin author.

Andreas
Thread:
Hanno Schlichting
Andreas Jung
Hanno Schlichting

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved