[ZODB-Dev] Question about zeo client cache

Raoni Castro raonitimo at gmail.com
Sun Dec 11 12:45:07 UTC 2011


2011/12/10 Maurits van Rees <m.van.rees at zestsoftware.nl>

> Op 09-12-11 22:49, Raoni Castro schreef:
>
>> Hi all,
>>
>>
>> Sorry if I'm asking this in the wrong place.
>>
>> I've a production site running in ha with plone 4.1.0 with zeo running
>> in other machine. The site was  installed from unified installer and my
>> blobstorage cache started to grow too much.
>>
>> I saw that version 4.1.8 of plone.recipe.zope2instance provided
>> zeo-client-blob-cache-size, so I updated this recipe to this version in
>> the development instance for testing and ran buildout with the following
>> configuration changes (in the zeo client):
>>
>> base.cfg:
>> [instance]
>> zodb-cache-size = 5000
>> ..
>> zeo-client-cache-size= 8 MB
>> zeo-client-blob-cache-size = 15 MB
>>
>
> Disk size is cheap.  I suggest increasing this to a few hundred MB or
> maybe even a few GB if you have lots of data.  Otherwise you will get a lot
> of traffic between your zeoclient and server.
>
> Yes, I know. I'm trying to get it to work first. Then I'll set things
right.


>
>  ..
>> blob-storage = ${buildout:directory}/var/**filestorage/blobstorage
>> shared-blob-dir = off
>>
>> But, the folder ${buildout:directory}/var/**filestorage/blobstorage
>> already holds more than 28 MB.
>>
>> Have I done something wrong? Can someone please point me to the right
>> path?
>>
>
> I don't notice any glaring errors.  Are you sure it is not just one large
> 28 MB file?


Yes, I'm sure. I have a few 6 MB files I can see in the folder.

I believe that if I set cache size to 8 MB and blob cache size to 15 MB,
the folder shouldn't hold much more than 23  MB. Am I getting it right?


>
>
>
> --
> Maurits van Rees   http://maurits.vanrees.org/
> Web App Programmer at Zest Software: http://zestsoftware.nl
> "Logical thinking shows conclusively that logical thinking
> is inconclusive." - My summary of Gödel, Escher, Bach
>
> ______________________________**_________________
> For more information about ZODB, see http://zodb.org/
>
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> https://mail.zope.org/mailman/**listinfo/zodb-dev<https://mail.zope.org/mailman/listinfo/zodb-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20111211/e7cf3335/attachment.html>


More information about the ZODB-Dev mailing list