From 95d9b838140e44c9547ad1fa28bc88206823198c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 8 Dec 2020 07:31:53 -0800 Subject: [PATCH] Reduce gerrit heap limit to 44g We had been setting this to 48GB on java 8, but recent gerrit service issues indicate that this may be too large for our current system on java 11. In particular it appears the non heap portions of the jvm may be in the ~8GB range leaving only about 5-6GB of usable system memory for other activities like web servers, backups, and garbage collection. Reduce this to 44GB to increase headroom to see if that helps us. Java 11 is reported to be much more efficient at garbage collecting so hopefully that makes up the difference between lower memory and where we were on java 8. As a side note we could revert back to java 8 as another option. Change-Id: Ie326aad2a9895098b484924a26c9257cd009d89e --- inventory/service/host_vars/review-test.opendev.org.yaml | 2 +- inventory/service/host_vars/review01.openstack.org.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/service/host_vars/review-test.opendev.org.yaml b/inventory/service/host_vars/review-test.opendev.org.yaml index 57634015b5..76caa59957 100644 --- a/inventory/service/host_vars/review-test.opendev.org.yaml +++ b/inventory/service/host_vars/review-test.opendev.org.yaml @@ -2,7 +2,7 @@ gerrit_replication: [] gerrit_storyboard_url: https://storyboard.openstack.org gerrit_vhost_name: review-test.opendev.org gerrit_serverid: adf32efa-43c9-4163-b047-c4449d8997da -gerrit_heap_limit: 48g +gerrit_heap_limit: 44g gerrit_track_upstream: false letsencrypt_certs: review-test-opendev-org-main: diff --git a/inventory/service/host_vars/review01.openstack.org.yaml b/inventory/service/host_vars/review01.openstack.org.yaml index 39992072a8..cb9f2ce734 100644 --- a/inventory/service/host_vars/review01.openstack.org.yaml +++ b/inventory/service/host_vars/review01.openstack.org.yaml @@ -59,7 +59,7 @@ gerrit_storyboard_url: https://storyboard.openstack.org gerrit_vhost_name: review.opendev.org gerrit_serverid: 4a232e18-c5a9-48ee-94c0-e04e7cca6543 gerrit_redirect_vhost: review.openstack.org -gerrit_heap_limit: 48g +gerrit_heap_limit: 44g letsencrypt_certs: review01-opendev-org-main: - review.opendev.org