From 0e18e0ca70e9ab6664d6e8378ad5c69b2f2e05bf Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 7 Aug 2021 12:17:48 +0200 Subject: gunicorn for GN3 added --- issues/correlations-time-out.gmi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'issues') diff --git a/issues/correlations-time-out.gmi b/issues/correlations-time-out.gmi index 7b04b93..58ee624 100644 --- a/issues/correlations-time-out.gmi +++ b/issues/correlations-time-out.gmi @@ -12,7 +12,7 @@ It looks like correlations don't finish - and worse the running processes take a * keywords: critical bug, in progress * [X] Set up OOM killer -* [ ] Many GN2 threads taking too much RAM +* [X] Prevent many GN2 threads taking too much RAM * [ ] Disable URL messages ## OOM Killer @@ -53,6 +53,10 @@ Currently the GN3 API is run with env FLASK_DEBUG=1 FLASK_APP="main.py" flask run --port=8086 ``` +I added gunicorn for production + +=> https://github.com/genenetwork/genenetwork3#running-the-flask-app GN3 gunicorn instructions + ## Log noise In the logs we see also quite a bit of noise. Should disable that: -- cgit v1.2.3