From 86d9aed67dd16022fdd688edaf099e42ca761444 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 10 Dec 2013 12:24:16 +0000 Subject: [PATCH] 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 --- lib/swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/swift b/lib/swift index 40722ab030..03aa8f4a7c 100644 --- a/lib/swift +++ b/lib/swift @@ -376,6 +376,9 @@ EOF iniuncomment ${swift_node_config} DEFAULT log_facility iniset ${swift_node_config} DEFAULT log_facility LOG_LOCAL${log_facility} + iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT workers + iniset ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT workers 1 + iniuncomment ${swift_node_config} DEFAULT disable_fallocate iniset ${swift_node_config} DEFAULT disable_fallocate true