[Zope] Re: ZServer threads and pool-size question

Florent Guillaume fg at nuxeo.com
Wed Jan 4 09:42:30 EST 2006


Jens Vagelpohl wrote:
> On 4 Jan 2006, at 13:23, Pascal Peregrina wrote:
>> Can anyone tell me why, by default in a zope instance config file,  
>> the connection pool size is 7 while the number of zserver threads  is 4?
>> Why not 4 and 4?
> 
> 
> Because under some conditions you can actually have more than 4  
> connections in use. Not having extra connections available has the  
> potential to block the server.

That's not true anymore in recent ZODBs. Zope 2.9 will never block and 
always allocate new connections as needed. It will log warnings if the 
number grows too much though.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope mailing list