From 7a14e9b9b3eba24e78e0e8fa4770daf3428e86b5 Mon Sep 17 00:00:00 2001 From: Skye Bender-deMoll Date: Thu, 27 Feb 2025 15:09:00 -0800 Subject: [PATCH 1/2] [CV2-6066] doubling worker processes from 8 to 16, and removing --threads since docs show it is only for gevent --- production/bin/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/bin/start.sh b/production/bin/start.sh index 8c936f7e..27e37ac0 100755 --- a/production/bin/start.sh +++ b/production/bin/start.sh @@ -66,4 +66,4 @@ set +o allexport python manage.py init python manage.py init_perl_functions python manage.py db upgrade -gunicorn --preload -w 8 --threads 16 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app +gunicorn --preload -w 16 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app From 78f9b5f09e07a22d2c0c9a227c90688ae95676f5 Mon Sep 17 00:00:00 2001 From: Skye Bender-deMoll Date: Thu, 27 Feb 2025 16:16:11 -0800 Subject: [PATCH 2/2] adding --threads back in --- production/bin/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/bin/start.sh b/production/bin/start.sh index 27e37ac0..bec29cc4 100755 --- a/production/bin/start.sh +++ b/production/bin/start.sh @@ -66,4 +66,4 @@ set +o allexport python manage.py init python manage.py init_perl_functions python manage.py db upgrade -gunicorn --preload -w 16 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app +gunicorn --preload -w 16 --threads 16 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app