[Zope-Checkins] SVN: Zope/trunk/ Changed zope.conf default settings for `zserver-threads` to `2` and `python-check-interval` to `1000`.
Hanno Schlichting
hannosch at hannosch.eu
Sat Jul 2 12:15:40 EDT 2011
Log message for revision 122060:
Changed zope.conf default settings for `zserver-threads` to `2` and `python-check-interval` to `1000`.
Changed:
U Zope/trunk/doc/CHANGES.rst
U Zope/trunk/src/Zope2/Startup/zopeschema.xml
U Zope/trunk/src/Zope2/utilities/skel/etc/zope.conf.in
-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst 2011-07-02 16:12:36 UTC (rev 122059)
+++ Zope/trunk/doc/CHANGES.rst 2011-07-02 16:15:39 UTC (rev 122060)
@@ -31,6 +31,9 @@
Restructuring
+++++++++++++
+- Changed zope.conf default settings for `zserver-threads` to `2` and
+ `python-check-interval` to `1000`.
+
- Simplified instance skeleton, removing old `Extensions`, `import`,
`lib/python` and `Products` from the default. You can continue to manually
add these back.
Modified: Zope/trunk/src/Zope2/Startup/zopeschema.xml
===================================================================
--- Zope/trunk/src/Zope2/Startup/zopeschema.xml 2011-07-02 16:12:36 UTC (rev 122059)
+++ Zope/trunk/src/Zope2/Startup/zopeschema.xml 2011-07-02 16:15:39 UTC (rev 122060)
@@ -447,15 +447,15 @@
<metadefault>us</metadefault>
</key>
- <key name="zserver-threads" datatype="integer" default="4">
+ <key name="zserver-threads" datatype="integer" default="2">
<description>
Specify the number of threads that Zope's ZServer web server will use
- to service requests. The default is 4.
+ to service requests. The default is 2.
</description>
- <metadefault>4 threads</metadefault>
+ <metadefault>2</metadefault>
</key>
- <key name="python-check-interval" datatype="integer" default="500">
+ <key name="python-check-interval" datatype="integer" default="1000">
<description>
Value passed to Python's sys.setcheckinterval() function. The
higher this is, the less frequently the Python interpreter
Modified: Zope/trunk/src/Zope2/utilities/skel/etc/zope.conf.in
===================================================================
--- Zope/trunk/src/Zope2/utilities/skel/etc/zope.conf.in 2011-07-02 16:12:36 UTC (rev 122059)
+++ Zope/trunk/src/Zope2/utilities/skel/etc/zope.conf.in 2011-07-02 16:15:39 UTC (rev 122060)
@@ -159,13 +159,13 @@
#
# Description:
# Specify the number of threads that Zope's ZServer web server will use
-# to service requests. The default is 4.
+# to service requests. The default is 2.
#
-# Default: 4
+# Default: 2
#
# Example:
#
-# zserver-threads 10
+# zserver-threads 3
# Directive: python-check-interval
@@ -174,15 +174,15 @@
# Specify an integer representing the Python interpreter "check
# interval" This interval determines how often the interpreter checks
# for periodic things such as thread switches and signal handlers. The
-# Zope default is 500, but you may want to experiment with other values
-# in order to attempt to increae performance in your particular
+# Zope default is 1000, but you may want to experiment with other values
+# in order to attempt to increase performance in your particular
# environment.
#
-# Default: 500
+# Default: 1000
#
# Example:
#
-# python-check-interval 1000
+# python-check-interval 1500
# Directive: zserver-read-only-mode
More information about the Zope-Checkins
mailing list