summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-12-22 12:37:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-22 12:37:58 +0000
commit90ded07384b99033dc6a1393636b3a65faa97b0d (patch)
tree080a30951cd2589b1966fa426324923729465f41 /build
parent8579b828d1cf683e5d579236e5a3b9a8849ba82c (diff)
parentec253a23c4034c57f6758fdc5fd1159b7c5beec7 (diff)
Merge "Reduce ceilometer memory usage"
Diffstat (limited to 'build')
-rw-r--r--build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch b/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
new file mode 100644
index 000000000..a1ee0364f
--- /dev/null
+++ b/build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch
@@ -0,0 +1,30 @@
+From 3c0a101279ef225c6d14b13a5424d0d190df1079 Mon Sep 17 00:00:00 2001
+From: Michael Polenchuk <mpolenchuk@mirantis.com>
+Date: Mon, 19 Dec 2016 16:03:37 +0400
+Subject: [PATCH] Reduce ceilometer memory usage
+
+Change-Id: I11045c233eeb833108ffdee4a8952cd61b91c840
+---
+ .../puppet/openstack_tasks/manifests/ceilometer/controller.pp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp b/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
+index f531b617d..7f811f276 100644
+--- a/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
++++ b/deployment/puppet/openstack_tasks/manifests/ceilometer/controller.pp
+@@ -243,5 +243,12 @@ class openstack_tasks::ceilometer::controller {
+ 'DEFAULT/use_syslog_rfc_format': value => true;
+ }
+ }
++
++ # Reduce memory usage
++ ceilometer_config {
++ 'DEFAULT/executor_thread_pool_size': value => ceiling($service_workers*0.5);
++ 'notification/pipeline_processing_queues': value => ceiling($service_workers*1.5);
++ 'oslo_messaging_rabbit/rabbit_qos_prefetch_count': value => 100;
++ }
+ }
+ }
+--
+2.11.0
+