[ZODB-Dev] ZeoServer, multiple storages and open file handles

Alex Clark aclark at aclark.net
Thu Oct 25 01:33:57 UTC 2012


On 2012-10-25 00:11:40 +0000, Tim Godfrey said:

> 
> 
> On 25 October 2012 00:13, Jim Fulton <jim at zope.com> wrote:
> On Wed, Oct 24, 2012 at 12:33 AM, Tim Godfrey <tim at obsidian.com.au> wrote:
> > Hi Jim
> >
> > Do you have any idea as to why people recommend against many storages under
> > a single Zeo?
> 
> Seriously?
> 
> Go back and read the thread.
> 
> Seriously mate. The "why" is very vague. 


There is nothing vague about the first reply to your question:


    "ZEO does not handle each storage in a separate thread, so you're 
underusing multiple CPUs if you have them. Multiple ZEO servers would 
also spread the open sockets among them. There could still be a leak, 
but it'd take longer to exhaust file descriptors."


Spread the storages across multiple ZEOs.


>  
> > Also can increasing the invalidation-queue-size help this if
> > there is memory to spare on the machine?
> 
> Invalidation queue size has nothing to do with this.
> 
> Once again very well explained thanks.


This is free support. No one is really obligated to help, so please be 
more patient and appreciative of those that try to do so.


Cheers



> 
> -- 
> Tim Godfrey
> Obsidian Consulting Group
> 
> P: +61 3 9355 7844
> F: +61 3 9350 4097
> E: tim at obsidian.com.au
> W: http://www.obsidian.com.au/
> _______________________________________________
> 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


-- 
Alex Clark · https://www.gittip.com/aclark4life/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20121024/bb4e692a/attachment.html>


More information about the ZODB-Dev mailing list