Dear,

I have a question regarding the use of WSGI in daemon mode with Apache in 
worker mode.

If Apache is only used for forwarding requests to WSGI (ie no static 
files), are the workers configuration parameters of Apache any important? 
I'm referring to these:
StartServers         10
MaxClients           250
MinSpareThreads      25
MaxSpareThreads      250
ThreadsPerChild      25
MaxRequestsPerChild  0

This is the WSGI configuration:
WSGIRestrictEmbedded On
WSGIPythonOptimize 1
WSGIDaemonProcess main group=www-data user=www-data processes=2 threads=5 
lang='en_US.UTF-8' locale='en_US.UTF-8' 
python-path=/data/web/app:/data/web/app/addons
WSGIDaemonProcess admin group=www-data user=www-data processes=1 threads=2 
inactivity-timeout=300 lang='en_US.UTF-8' locale='en_US.UTF-8' 
python-path=/data/web/app:/data/web/app/addons

If they matter, should I just put them to be in the same line of the WSGI 
values?

PS: what is a good way to start with these values? I find it very 
confusing. The server is a typical 1 core 2.5 GHz cloud server. Memory is 
not an issue for this application. I guess at some point the 
processes/threads get limited by CPU or I/O if disk access is required.

Thanks for the work on WSGI.

Jordi

-- 
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 https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to