> On 2 Dec 2015, at 3:14 AM, Ola <[email protected]> wrote:
>
> Hello,
>
> Recently I experience hanging request when deploying Django app with mod_wsgi
> on apache. That is because application is closing callback handler of async
> service. Problem was resolved by adding WSGIApplicationGroup %{GLOBAL} as
> stated in
> https://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_Simplified_GIL_State_API.
> Although I found here
> http://serverfault.com/questions/537588/python-django-sites-on-apachemod-wsgi-with-nginx-proxy-highly-fluctuating-perf
> is written: "to avoid issues with some third party C extension modules for
> Python, if this is the only WSGI application on that server". What is the
> alternative solution to support multiple wsgi applications then?
If you have more than one WSGI application, then you simply need to create
multiple mod_wsgi daemon process groups and delegate each WSGI application to
run in its own daemon process group. With that done you can then happily set
WSGIApplicationGroup to %{GLOBAL} for both.
Graham
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.