How to set environment variable of wsgi?

142 views
Skip to first unread message

Helend

unread,
Jun 22, 2012, 8:15:20 AM6/22/12
to we...@googlegroups.com
Hi

I have to set wsgi.multithread = False and wsgi.multiprocess = False.

Do any know how to set them in web.py?

Thank you in advance.

Helend

Patrick

unread,
Jun 22, 2012, 12:41:44 PM6/22/12
to we...@googlegroups.com
I hope anybody will tell me if im wrong but...


This is not a question about Pinax, this is more a question about your
Web Server. For example, if you choose WSGI, you should be able to
configure how many Threads it will create. And Threads are handled by
the Operating System.


Am 22.06.2012 14:15, schrieb Helend:
> Hi
>
> I have to set *wsgi.multithread = False* and *wsgi.multiprocess = False*.
>
> Do any know how to set them in web.py?
>
> Thank you in advance.
>
> Helend
>
> --
> You received this message because you are subscribed to the Google
> Groups "web.py" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/webpy/-/GqmAnqaZpMwJ.
> To post to this group, send email to we...@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.

Helend

unread,
Jun 22, 2012, 6:40:58 PM6/22/12
to we...@googlegroups.com
Thanks Pinax,

I am using mod_wsgi to build my web server under windows. If you look at this page, the only way to limit thread under windows is to change the environment variables.

http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading.

Cheers,
Helend


On Saturday, June 23, 2012 2:41:44 AM UTC+10, Patrick wrote:
I hope anybody will tell me if im wrong but...


This is not a question about Pinax, this is more a question about your
Web Server. For example, if you choose WSGI, you should be able to
configure how many Threads it will create. And Threads are handled by
the Operating System.


Am 22.06.2012 14:15, schrieb Helend:
> Hi
>
> I have to set *wsgi.multithread = False* and *wsgi.multiprocess = False*.
>
> Do any know how to set them in web.py?
>
> Thank you in advance.
>
> Helend
>
> --
> You received this message because you are subscribed to the Google
> Groups "web.py" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/webpy/-/GqmAnqaZpMwJ.
> To post to this group, send email to we...@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages