summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2021-08-07 12:17:48 +0200
committerPjotr Prins2021-08-07 12:17:48 +0200
commit0e18e0ca70e9ab6664d6e8378ad5c69b2f2e05bf (patch)
treea4577f85dff8972f5dedca445225929ce8f14e15
parent28fd6702a2225181797318364b23890a2f81ea04 (diff)
downloadgn-gemtext-0e18e0ca70e9ab6664d6e8378ad5c69b2f2e05bf.tar.gz
gunicorn for GN3 added
-rw-r--r--issues/correlations-time-out.gmi6
1 files changed, 5 insertions, 1 deletions
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: