summaryrefslogtreecommitdiff
path: root/zuul.d
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2021-12-08 09:17:46 -0800
committerJulia Kreger <juliaashleykreger@gmail.com>2021-12-08 09:17:46 -0800
commit24184a449b94010e43a107109abbdd2932e8fd16 (patch)
treef37b2dbe30838ca9cc4c372297878a04d90a9516 /zuul.d
parentc4d2f4b8c63d86233fdf863ae4c4fa21d95df65c (diff)
downloadironic-24184a449b94010e43a107109abbdd2932e8fd16.tar.gz
CI: reduce api worker processes to 1
CI is memory intensive, and we realistically don't need 2 or more API workers running for every single WSGI process which does not implement it's own specific override value. This should reduce the memory footprint by an average of six processes which consume 60-90 MB each. Change-Id: Ia0a986152c2b9fc9c5ff54cf698a351db452fbbd
Diffstat (limited to 'zuul.d')
-rw-r--r--zuul.d/ironic-jobs.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/zuul.d/ironic-jobs.yaml b/zuul.d/ironic-jobs.yaml
index 7798001c3..d697d8aa6 100644
--- a/zuul.d/ironic-jobs.yaml
+++ b/zuul.d/ironic-jobs.yaml
@@ -64,6 +64,10 @@
# causes us an abnormally high job failure rate due to the ports
# not being found (as neutron crashed on initailization).
Q_USE_SECGROUP: False
+ # Default API workers is 2, however only 1 is needed,
+ # which cuts API memory utilziation in half reducing the risk of
+ # oom-killer events in CI.
+ API_WORKERS: 1
devstack_plugins:
ironic: https://opendev.org/openstack/ironic
tempest_plugins: