Skip to content

Commit

Permalink
Add thread-stacksize = 512 to uwsgi config
Browse files Browse the repository at this point in the history
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
...`
unbit/uwsgi#1792 (comment)
  • Loading branch information
rjw1 committed Apr 8, 2020
1 parent 0d461bb commit eb91494
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/web/conf/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit eb91494

Please sign in to comment.