From dbc71e195c3180718b51a25b8b7022fade4877af Mon Sep 17 00:00:00 2001 From: Bjoern Teipel <bjoern.teipel@rackspace.com> Date: Fri, 31 Aug 2018 11:18:53 -0500 Subject: [PATCH] Reducing memory footprint on mnaio MNAIO built with newer releases, like Rocky, show increased memory usage exceeding the default 8G for INFRA_VM_SERVER_RAM setting. The MariaDB server innodb buffer cache is drastically reduced to match the deployment size. Change-Id: Ifef9ee209aedb882ae14b1d2a29852375de8e7e8 --- multi-node-aio/playbooks/osa/user_mnaio_variables.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/multi-node-aio/playbooks/osa/user_mnaio_variables.yml b/multi-node-aio/playbooks/osa/user_mnaio_variables.yml index efd7bba0..28b89fd6 100644 --- a/multi-node-aio/playbooks/osa/user_mnaio_variables.yml +++ b/multi-node-aio/playbooks/osa/user_mnaio_variables.yml @@ -40,3 +40,7 @@ glance_glance_api_conf_overrides: glance_store: http_proxy_information: "http:http://, https:http://" {% endif %} + +# Reduce memory footprint for mnaio +galera_innodb_buffer_pool_size: 1024M +galera_gcache_size: 128M