reduce processes, increas threads
we have two cores on the server; having more processes won't help much, and uses more memorydependabot/pip/cryptography-3.2
parent
14fa63dbb3
commit
0e3935dd21
|
@ -27,7 +27,7 @@ SSLCertificateFile /etc/ssl/certs/{{ server_name }}.crt
|
||||||
SSLCertificateKeyFile /etc/ssl/private/server.key
|
SSLCertificateKeyFile /etc/ssl/private/server.key
|
||||||
SSLCertificateChainFile /etc/ssl/certs/{{ server_name }}.ca-bundle
|
SSLCertificateChainFile /etc/ssl/certs/{{ server_name }}.ca-bundle
|
||||||
|
|
||||||
WSGIDaemonProcess regluit processes=4 threads=8 python-eggs=/tmp/regluit-python-eggs
|
WSGIDaemonProcess regluit processes=2 threads=20 python-eggs=/tmp/regluit-python-eggs
|
||||||
WSGIScriptAlias / /opt/regluit/deploy/prod.wsgi
|
WSGIScriptAlias / /opt/regluit/deploy/prod.wsgi
|
||||||
|
|
||||||
# generated using https://mozilla.github.io/server-side-tls/ssl-config-generator/
|
# generated using https://mozilla.github.io/server-side-tls/ssl-config-generator/
|
||||||
|
|
Loading…
Reference in New Issue