As already mentioned, since you don't set it, add:
WSGIApplicationGroup %{GLOBAL}
This can avoid various issues where Python packages are not designed properly
to work in sub interpreters.
You also have WSGIScriptAlias duplicated unnecessarily.
Graham
> On 9 Jun 2020, at 11:45 pm, Mahesh Vernekar <[email protected]> wrote:
>
> Hi Graham,
>
> Thanks for you quick response. The complete configuration is:
>
> <VirtualHost *:443>
> ServerName author.knowdl.com
> WSGIScriptAlias / /opt/data/knauthor/knauthor/wsgi.py
> Alias /static /opt/data/knauthor/knauthor/static
> <Directory /opt/data/knauthor/knauthor/static>
> Require all granted
> </Directory>
>
> <Directory //opt/data/knauthor/knauthor>
> <Files wsgi.py>
> Require all granted
> </Files>
> </Directory>
>
> WSGIDaemonProcess author.knowdl.com
> python-path=/opt/data/knauthor/knauthor:/usr/lib64/python3.4/site-packages
> connect-timeout=360
> WSGIProcessGroup author.knowdl.com
> WSGIScriptAlias / /opt/data/knauthor/knauthor/wsgi.py
> SSLEngine on
> SSLCertificateKeyFile /opt/data/ssl/knowdl.key
> SSLCertificateFile /opt/data/ssl/star_knowdl_com.crt
> SSLCertificateChainFile /opt/data/ssl/DigiCertCA.crt
> </VirtualHost>
>
>
>
> Regards
>
> Mahesh
>
>
> On Tuesday, 9 June 2020 15:41:08 UTC+5:30, Mahesh Vernekar wrote:
> Hi Graham,
>
> Occasionally we are getting "Timeout when reading response headers from
> daemon process" in apache error log.
>
> In apache config below is the setting.
> WSGIDaemonProcess author.knowdl.com <http://author.knowdl.com/>
> python-path=/opt/data/knauthor/knauthor:/usr/lib64/python3.4/site-packages
> connect-timeout=360
>
> Do you recommend removed the connect-timeout parameter ?
>
>
>
> Regards
>
>
> Mahesh
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/modwsgi/33a6c2ad-6b25-49b0-aa78-19bd78967977o%40googlegroups.com
>
> <https://groups.google.com/d/msgid/modwsgi/33a6c2ad-6b25-49b0-aa78-19bd78967977o%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/modwsgi/9370EE6D-C507-4EF4-9424-9C02BE9B4F08%40gmail.com.