cache-size is the max number of objects each connection will try to keep in

You can see how it is currently performing when you go to the ZMI -> Control
Panel -> Database Management -> main -> Cache Parameters
Each line of the table is a connection of the pool.
The total number of active an non active objects limited by the "cache-size"
If you see, during normal operation, that most of the connections are
reaching that limit, then you could try to increase it.
But be careful not to run out of Memory ;)

For ZEO users, there may be another parameter to change if you modify the
cache-size param, which is the cache-size param within the
<zeoclient></zeoclient> section. This param, although it has the same name,
means something completely different.

But this does not apply to the below example that uses a filestorage for the


-----Message d'origine-----
[mailto:[EMAIL PROTECTED] la part de
Germer, Carsten
Envoyé : vendredi 3 juin 2005 13:11
À :
Objet : RE: [Zope] Max Connections

Yay, fine, thanks!
And while we're at it:
What exactly does "cache-size 8000" do?
8000 what? Objects, Kilobytes? Per connection in Pool size or over all?
Can someone point me out to a document explaining that?


>-----Original Message-----
>From: Janko Hauser [mailto:[EMAIL PROTECTED] 
>Sent: Friday, June 03, 2005 1:06 PM
>To: Germer, Carsten
>Subject: Re: [Zope] Max Connections
>Am 03.06.2005 um 12:54 schrieb Germer, Carsten:
>> Pascal,
>> Would you be so kind to send the <zodb>-part of your config?
>> I Increased the zserver-threads for exactly the mentioned reasons  
>> but I was not aware of the "connectio pool"-parameter, nor can I  
>> find it anywhere in my zope.conf :)
>Carsten look into lib/python/ZODB/component.xml There are all ZConfig  
>directives defined and their defaults. From this I would assume the  
>following ZODB config
><zodb_db main>
>     # Main FileStorage database
>     <filestorage>
>       path $INSTANCE/var/Data.fs
>     </filestorage>
>     mount-point /
>     cache-size 8000
>     pool-size 15
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to