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:
Adam Benesh 2021-10-07 09:24:48 +00:00 committed by Tim Abbott
parent 38cf2d07a6
commit c881430f4c
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ Listen 127.0.0.1:8888
WSGIScriptAlias / /home/zulip/deployments/current/zproject/wsgi.py
WSGIDaemonProcess zulip threads=5 user=zulip python-path=/home/zulip/deployments/current/
WSGIProcessGroup zulip
WSGIApplicationGroup %{GLOBAL}
ErrorLog ${APACHE_LOG_DIR}/zulip_auth_error.log