[Zope] RE: Zope hangs when database takes too long to respond

Sinang, Danny D.Sinang at spi-bpo.com
Wed Sep 6 19:02:57 EDT 2006



> It is a "known" limitation of Zope, which has a set number of "worker
threads" available to service user requests.  If a worker thread blocks
(e.g., waiting for MySQL), it is not able to do any work for other
pending requests.

> You can tweak the number of threads in your zope.conf file, via the
'zserver-threads' directive (the default value is 4).  If you do
increase this value, you also need to increase the number of database
connections avialble (via 'pool-size') which will increase the RAM
required by your appserver.


Thanks Tres.

I found 'zserver-threads' in zope.conf, but couldn't find 'pool-size'.
Am using Zope 2.7.6.

Is this something available on higher versions of Zope ?

Regards,
Danny




More information about the Zope mailing list