WSGIDaemonProcess app1
WSGIDaemonProcess app2
WSGIScriptAlias /app1 /path/to/driver.wsgi
<Location /app1>
WSGIProcessGroup app1
WSGIApplicationGroup %{GLOBAL}
</Location>
WSGIScriptAlias /app2 /path/to/driver.wsgi
<Location /app2>
WSGIProcessGroup app2
WSGIApplicationGroup %{GLOBAL}
</Location>
Graham
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/18knNcIADd4J.
> To post to this group, send email to mod...@googlegroups.com.
> To unsubscribe from this group, send email to
> modwsgi+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.
>
WSGIProcessGroup is for processes. WSGIApplicationGroup specifies the
embedded sub interpreter within the process. Don't equate interpreter
with having a process of its own.
So that configuration specified two separate processes, distinct from
Apache processes, with each application running separately. When run
up in their distinct processes they ran in the first interpreter
created when embedded Python was initialised.
So yes, you are a bit confused. :-)
Read:
http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading
http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Embedded_Or_Daemon_Mode
http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Sub_Interpreter_Being_Used
http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Single_Or_Multi_Threaded
See also the display-name option to WSGIDaemonProcess so you can name
the processes and distinguish them in 'ps' output.
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
Graham
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/0-j7tSo5n9wJ.