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

Pascal Peregrina Pperegrina at Lastminute.com
Thu Jan 5 05:24:59 EST 2006


I saw that once on Zope 2.8.4, cause I was using a connection in a independent thread not linked to any incoming request and had forgotten about it ;) Never since then, so it looks like threads = pool size is fine for my setup.

Can you confirm this feature is included in Zope 2.8 ?

Pascal


-----Message d'origine-----
De : zope-bounces at zope.org [mailto:zope-bounces at zope.org] De la part de Florent Guillaume
Envoyé : mercredi 4 janvier 2006 15:43
À : Jens Vagelpohl
Cc : zope at zope.org
Objet : [Zope] Re: ZServer threads and pool-size question

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
_______________________________________________
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 )


**********************************************************************
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.

www.mimesweeper.com
**********************************************************************



More information about the Zope mailing list