From 429df0bab15efbaa5d4dfdde5f7278ea2fdab2e6 Mon Sep 17 00:00:00 2001 From: Alexey Odinokov Date: Thu, 14 Oct 2021 15:44:47 +0000 Subject: [PATCH] Clean up additional ~90mb of mem on gating hosts We're very close to the point when we run out of mem, so extra 90mb may be important. Change-Id: I81880df1ece4bdf1bf024852389af6d46800da89 --- .../templates/wsgi-sushy-emulator-ssl.conf.j2 | 2 +- .../templates/wsgi-sushy-emulator.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator-ssl.conf.j2 b/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator-ssl.conf.j2 index b2c02a10a..a89cd7ab1 100644 --- a/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator-ssl.conf.j2 +++ b/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator-ssl.conf.j2 @@ -6,7 +6,7 @@ # Add machine's IP address (use ifconfig command) ServerName {{ sushy_emulator_frontend_servername }} # Give an alias to to start your website url with - WSGIDaemonProcess wsgiapp-{{ sushy_emulator_frontend_name }}-https user=wsgiapp-sushy processes=2 threads=5 + WSGIDaemonProcess wsgiapp-{{ sushy_emulator_frontend_name }}-https user=wsgiapp-sushy processes=1 threads=5 WSGIScriptAlias / /var/www/sushy-emulator/sushy-emulator.wsgi # set permissions as per apache2.conf file diff --git a/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator.conf.j2 b/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator.conf.j2 index ee848bfbc..db5abbeb7 100644 --- a/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator.conf.j2 +++ b/roles/apache-wsgi-sushy-emulator/templates/wsgi-sushy-emulator.conf.j2 @@ -5,7 +5,7 @@ Listen {{ sushy_emulator_frontend_http_port }} # Add machine's IP address (use ifconfig command) ServerName {{ sushy_emulator_frontend_servername }} # Give an alias to to start your website url with - WSGIDaemonProcess wsgiapp-{{ sushy_emulator_frontend_name }} user=wsgiapp-sushy processes=2 threads=5 + WSGIDaemonProcess wsgiapp-{{ sushy_emulator_frontend_name }} user=wsgiapp-sushy processes=1 threads=5 WSGIScriptAlias / /var/www/sushy-emulator/sushy-emulator.wsgi # set permissions as per apache2.conf file