[Zope-dev] Default ZODB cache size

Dieter Maurer dieter at handshake.de
Sun Jul 10 18:02:01 EDT 2005


Tim Peters wrote at 2005-7-8 15:08 -0400:
>[Florent Guillaume]
>>> How about boosting the default ZODB cache_size to something less
>>> ridiculous than the default 4000 ?
>>> I propose changing etc/zope.conf.skel to have an explicit value of
>>> 20000.
>
>[Dieter Maurer]
>|> That may already be a bit large:
>>
>>  We use 15.000 with 6 workers and our Zope easily comsumes
>>  about 1 to 1.5 GB of RAM.
>>
>> I would keep the 4.000 default in order not to bring
>> newbies with low RAM into problems.
>> 
>> Experts can easily reconfigue the cache size.
>
>It's unclear to me which default we're talking about.  ZODB's
>DB.__init__ has cache_size=400 (not 4000) as the default.  The example
>ZEO client in skel/etc/zope.conf.in sets
>
>#   cache-size 5000
>
>as its "default".

I think Florent had the Zope default in mind (which is 5.000
rather than 4.000 when I am right -- but this does not really matter).


-- 
Dieter


More information about the Zope-Dev mailing list