From eb91494f8d5dbecf2f492b4ebeb93b3727264e06 Mon Sep 17 00:00:00 2001 From: bob walker Date: Wed, 8 Apr 2020 14:34:41 +0100 Subject: [PATCH] Add thread-stacksize = 512 to uwsgi config When running in staging without this set we would see workers randomly die causing 502s `DAMN ! worker 5 (pid: 429) died, killed by signal 11 :( trying respawn ...` https://github.com/unbit/uwsgi/issues/1792#issuecomment-481755089 --- docker/web/conf/uwsgi.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/web/conf/uwsgi.ini b/docker/web/conf/uwsgi.ini index 554f4bbb..824a50df 100644 --- a/docker/web/conf/uwsgi.ini +++ b/docker/web/conf/uwsgi.ini @@ -29,6 +29,10 @@ stats = /tmp/uwsgistats.sock threads = 2 enable-threads = true +# stop workers dying +# DAMN ! worker 5 (pid: 429) died, killed by signal 11 :( trying respawn ... +# https://github.com/unbit/uwsgi/issues/1792#issuecomment-481755089 +thread-stacksize = 512 thunder-lock = true vacuum = true