If you increase the max-procs, you will spawn (at most) that many
python processes. Note that these aren't threads, but separate
processes, so you need to be sure that any state within a given
application isn't necessary. For instance, if you maintain a global
dict of logged in users, this will break in the multiprocess
deployment.

webpy applications are multithreaded however, so multiple connections
will be processed simultaneously. However, due to the way python
implements threading (specifically, the GIL), it's uncommon for python
threads to really take advantage of multicore architectures. If you
have several cores and have written the program correctly, upping the
max-procs variable will help you get more throughput.

Good luck,
Justin


On Jul 27, 1:54 pm, "[email protected]" <[email protected]>
wrote:
> The other related questions is:
>
> If using fastgi with lighttpd and  "max-procs" = 1
>
> Is a different python thread created for each concurrent session?
>
> Cheers,
> Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to