Browse code

Fix the amount of workers spawned for non proxies

We were running as auto so swift would spawn a lot of processes
consuming memory and CPU which are not really neeeded in a devstack env
(and bad for the jenkins vm).

Closes-Bug: 1259548
Change-Id: I6b5266186168fe99568dda5453b436c2f9cfedb3

Chmouel Boudjnah authored on 2013/12/10 21:24:16
Showing 1 changed files
... ...
@@ -376,6 +376,9 @@ EOF
376 376
         iniuncomment ${swift_node_config} DEFAULT log_facility
377 377
         iniset ${swift_node_config} DEFAULT log_facility LOG_LOCAL${log_facility}
378 378
 
379
+        iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT workers
380
+        iniset ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT workers 1
381
+
379 382
         iniuncomment ${swift_node_config} DEFAULT disable_fallocate
380 383
         iniset ${swift_node_config} DEFAULT disable_fallocate true
381 384