[Zope] custom_zodb.py

Sinang, Danny D.Sinang at spi-bpo.com
Wed Sep 6 21:24:34 EDT 2006


 
Per http://www.plope.com/Books/2_7Edition/MaintainingZope.stx#2-27 , it
still says write your own custom_zodb.py .

Can you point me to the exact location ?

Regards,
Danny

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
Paul Winkler
Sent: Thursday, September 07, 2006 9:16 AM
To: zope at zope.org
Subject: Re: [Zope] custom_zodb.py

Unless you are using Zope 2.6, don't do that.

For Zope 2.7 or later, see the 2.7 version of the book at plope.com.
Some chapters were never updated from the 2.6 version but even so it's
much improved.

For zope 2.7 or later, what you want to do is now done by editing
zope.conf.

On Thu, Sep 07, 2006 at 08:44:08AM +0800, Sinang, Danny wrote:
> In the Zope Book v2.6, it says :
>  
> "Each database connection maintains its own cache (see above, 
> "Database Cache"), so bumping the number of connections up increases 
> memory requirements. Only change this setting if you're sure you have 
> the memory to spare.
> 
> To change this setting, create a file called "custom_zodb.py" in your 
> Zope installation directory. In this file, put the following code:"
> 
> Am not sure which directory "Zope installation directory" pertains to.
> 
> Is this the fresh directory from the Zope .tar.gz file ?
> 
> Or is this the already-installed directory ? Or would it be the 
> instance directory ? If so, which subdirectory do I place
custom_zodb.py ?
> 
> Regards,
> Danny
> 

> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )


-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


More information about the Zope mailing list