At first I would like to say I want to run in daemon mode.
My current global configuration is this:
WSGIProcessGroup abc
WSGIDaemonProcess abc threads=8 display-name=mod_wsgi:abc
The problem with this is that all sorts of things start interfering
with eachother. For example the os.chdir() function causes havoc
because of all the different threads changing it at different times.
Now I think this configuration should solve these issues:
WSGIProcessGroup abc
WSGIDaemonProcess abc threads=1 processes=8 display-name=mod_wsgi:abc
But I don't think that is very scalable or lean.
I've tried some config with %{ENV:SCRIPT_FILENAME} but it doesn't seem
to work. Is there a way that I can give every script its own
processgroup and threads from a global configuration file?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---