reduce processes, increas threads

we have two cores on the server; having more processes won't help much, and uses more memory
dependabot/pip/cryptography-3.2
eric 2020-10-02 14:01:16 -04:00
parent 14fa63dbb3
commit 0e3935dd21
1 changed files with 1 additions and 1 deletions

View File

@ -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/