after running the very awesome deployment script to set up 
web2py/apache/postgres on ubuntu12.04 LTS,
there is this line

WSGIDaemonProcess web2py user=www-data group=www-data processes=1 threads=1

The web2py book advises to in fact not specify processes and threads, which 
then defaults to one process and 15 threads. This seems to make more sense 
than what I have after the deployment script.

Further, I've installed phppgadmin which is a php app, and this replaces 
worker MPM with pre-fork, which means processes not threads for apache's 
request handling.

It seems that the the WSGI module in daemon mode will in fact use threads 
not processes to respond to requests it handles regardless of what apache 
is doing for its requests, which sounds good, but threads=1 contradicts my 
understanding of the configuration line above.






-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to