From 660bc8e12364b3e5d696534002cf14c20d2bc306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Ba=C3=B1ados=20Schwerter?= Date: Mon, 26 Aug 2024 17:40:03 +0000 Subject: [PATCH] Second modification to UWSGI: Limit memory on processes --- src/morphodict/site/uwsgi.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/src/morphodict/site/uwsgi.ini b/src/morphodict/site/uwsgi.ini index 085b59fe0..cb4b16918 100644 --- a/src/morphodict/site/uwsgi.ini +++ b/src/morphodict/site/uwsgi.ini @@ -43,6 +43,7 @@ hook-accepting-once = exec:echo uWSGI worker ready to accept requests! pid: $PPI # To know how much ram we are using memory-report = true +reload-on-rss = 1024 listen = 2048 max-requests = 4096