mirror of https://github.com/zulip/zulip.git
[manual] Lower the max number of child processes that runfcgi can spawn
The default is 50, which we believe was causing too much CPU contention in prod during restarts. This commit lowers the max to 20. The django-command-line script needs to be restarted manually to pick up this change. (imported from commit c2d097d2141be50b6222efb4a34142108c241cce)
This commit is contained in:
parent
e0f1949cb4
commit
028d3adabf
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh -x
|
||||
while true; do python /home/humbug/humbug-deployments/current/manage.py runfcgi socket=/home/humbug/humbug-deployments/current/fastcgi-socket outlog=/home/humbug/logs/app.out errlog=/humbug/humbug/logs/app.err daemonize=False; sleep 0.2; done
|
||||
while true; do python /home/humbug/humbug-deployments/current/manage.py runfcgi socket=/home/humbug/humbug-deployments/current/fastcgi-socket outlog=/home/humbug/logs/app.out errlog=/humbug/humbug/logs/app.err daemonize=False maxchildren=20; sleep 0.2; done
|
||||
|
|
Loading…
Reference in New Issue