From 73b17812c0656526085bb6402dcb9b7a64fdde6d Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 30 Jan 2015 13:09:08 -0500 Subject: [PATCH] Only start 1 subunit worker per node This commit removes the 3 unneeded subunit worker processes from the subunit_worker node type. Previously, 4 workers were launched on the same node (similar to the logstash workers) but this caused issues in production. (they consumed all the ram) After dropping down to one process it was able to handle the load without issue and didn't consume all the resources. Change-Id: I5f7f85fc6f8bfb5d2fbec548b58c5d8a1bc0e628 --- .../openstack_project/manifests/subunit_worker.pp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/modules/openstack_project/manifests/subunit_worker.pp b/modules/openstack_project/manifests/subunit_worker.pp index 3b4040ebc2..a7a7d681a7 100644 --- a/modules/openstack_project/manifests/subunit_worker.pp +++ b/modules/openstack_project/manifests/subunit_worker.pp @@ -30,19 +30,4 @@ class openstack_project::subunit_worker ( db_host => $subunit2sql_db_host, db_pass => $subunit2sql_db_pass, } - subunit2sql::worker { 'B': - config_file => 'puppet:///modules/openstack_project/logstash/jenkins-subunit-worker.yaml', - db_host => $subunit2sql_db_host, - db_pass => $subunit2sql_db_pass, - } - subunit2sql::worker { 'C': - config_file => 'puppet:///modules/openstack_project/logstash/jenkins-subunit-worker.yaml', - db_host => $subunit2sql_db_host, - db_pass => $subunit2sql_db_pass, - } - subunit2sql::worker { 'D': - config_file => 'puppet:///modules/openstack_project/logstash/jenkins-subunit-worker.yaml', - db_host => $subunit2sql_db_host, - db_pass => $subunit2sql_db_pass, - } }