mirror of https://github.com/zulip/zulip.git
puppet: Add WSGIApplicationGroup config to Apache SSO example.
Zulip apparently is now affected by a bad interaction between Apache's WSGI using Python subinterpreters and C extension modules like `re2` that are not designed for it. The solution is apparently to set WSGIApplicationGroup to %{GLOBAL}, which disables Apache's use of Python subinterpreters. See https://serverfault.com/questions/514242/non-responsive-apache-mod-wsgi-after-installing-scipy/514251#514251 for background. Fixes #19924.
This commit is contained in:
parent
38cf2d07a6
commit
c881430f4c
|
@ -38,6 +38,7 @@ Listen 127.0.0.1:8888
|
||||||
WSGIScriptAlias / /home/zulip/deployments/current/zproject/wsgi.py
|
WSGIScriptAlias / /home/zulip/deployments/current/zproject/wsgi.py
|
||||||
WSGIDaemonProcess zulip threads=5 user=zulip python-path=/home/zulip/deployments/current/
|
WSGIDaemonProcess zulip threads=5 user=zulip python-path=/home/zulip/deployments/current/
|
||||||
WSGIProcessGroup zulip
|
WSGIProcessGroup zulip
|
||||||
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/zulip_auth_error.log
|
ErrorLog ${APACHE_LOG_DIR}/zulip_auth_error.log
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue