From 6a75f590be5d262c1a37aa99333e0163074dd391 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Wed, 24 Oct 2018 14:39:21 +0200 Subject: [PATCH] debian: refine uwsgi settings (#27385) --- debian/uwsgi.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/uwsgi.ini b/debian/uwsgi.ini index 4ffcf458..d600669a 100644 --- a/debian/uwsgi.ini +++ b/debian/uwsgi.ini @@ -10,9 +10,11 @@ chmod-socket = 666 vacuum = true master = true -processes = 5 +processes = 10 harakiri = 120 enable-threads = true +max-requests = 500 +max-worker-lifetime = 7200 buffer-size = 32768 @@ -20,6 +22,8 @@ py-tracebacker = /run/wcs/py-tracebacker.sock. stats = /run/wcs/stats.sock memory-report = true +ignore-sigpipe = true + if-file = /etc/wcs/uwsgi-local.ini include = /etc/wcs/uwsgi-local.ini endif = -- 2.19.1