You'll also want to change the number of database connections. If
you use FileStorage, put the following in a custom_zodb.py file in
your Zope software home or instance home (if you run an instance
home setup):
import ZODB.FileStorage
import ZODB.DB
filename = os.path.join(INSTANCE_HOME, 'var', 'Data.fs')
Storage = ZODB.FileStorage.FileStorage(filename)
DB = ZODB.DB(Storage, pool_size=25, cache_size=2000)
The pool_size parameter is the number of database connections.
The number of database connections should always be higher than the
number of threads by a few (it doesn't make sense to have fewer
database connections than threads).
- C
- Original Message -
From: Dario Lopez-Kästen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 5:02 AM
Subject: [Zope-dev] Bump up the nr of ZOpe trhreads
Hello!
Apart from the -t option to z2.py (that, afaik, limits me to only
7), what
other settings do I need to change to bump up the number of Zope
threads to
around 20, both for ZServer and for ZODB Accesses? If i change these
settings, which one will allow me to have around 20 threads
available to
access an external Oracle DB (the zserver or the ZODB)?
TIA,
/dario
- --
--
Dario Lopez-Kästen, [EMAIL PROTECTED]IT Systems
Services
System Developer/System Administrator Chalmers University of
Tech.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )