16244 depot's MAX_THREADS is too low
authorjohansen <johansen@opensolaris.org>
Fri, 02 Jul 2010 12:04:59 -0700
changeset 1963 085efeb8cb0c
parent 1962 67c7471bde61
child 1964 ca39d1d04bc4
16244 depot's MAX_THREADS is too low 16448 Depot's default thread setting is too low
src/depot.py
src/svc/pkg-server.xml
--- a/src/depot.py	Thu Jul 01 11:28:42 2010 +0100
+++ b/src/depot.py	Fri Jul 02 12:04:59 2010 -0700
@@ -54,9 +54,9 @@
 # The minimum number of threads allowed.
 THREADS_MIN = 1
 # The default number of threads to start.
-THREADS_DEFAULT = 10
+THREADS_DEFAULT = 60
 # The maximum number of threads that can be started.
-THREADS_MAX = 500
+THREADS_MAX = 5000
 # The default server socket timeout in seconds. We want this to be longer than
 # the normal default of 10 seconds to accommodate clients with poor quality
 # connections.
--- a/src/svc/pkg-server.xml	Thu Jul 01 11:28:42 2010 +0100
+++ b/src/svc/pkg-server.xml	Fri Jul 02 12:04:59 2010 -0700
@@ -102,7 +102,7 @@
 		<propval name='port' type='count' value='80' />
 		<propval name='proxy_base' type='astring' value='' />
 		<propval name='socket_timeout' type='count' value='60' />
-		<propval name='threads' type='count' value='10' />
+		<propval name='threads' type='count' value='60' />
 		<propval name='cfg_file' type='astring' value='' />
 		<propval name='content_root' type='astring'
 			value='usr/share/lib/pkg' />