I had issues with disk based sessions on apache - turns out it was in part
because of the threading.
I solved the session issue a different way, but these settings did help,
and may guide you into getting apache into single thread mode.
(It was the "processes=1" setting that helped me. Maybe this will help you
too?)
<VirtualHost *:80>
WSGIScriptAlias / /opt/myapp/web/main.py/
* WSGIDaemonProcess main processes=1 threads=25
WSGIProcessGroup main*
Alias /static /opt/myapp/web/static/
<Directory /opt/myapp/web/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
On Thu, Jun 21, 2012 at 4:43 AM, Anand Chitipothu <[email protected]>wrote:
> On Thu, Jun 21, 2012 at 9:47 AM, Helend <[email protected]> wrote:
> > Hi,
> >
> > I am writing a simple web server to handle thousands of request in
> minute.
> > But I have to make sure every request is completed before processing of a
> > next request.
> >
> > The server is build with Xampp 1.7.7 (Apache 2.2.21, MySQL 5.5.16).
> mod_wsgi
> > 3.3, python 2.6, web.py 0.36, window 2008 x64
> >
> > Are there any ways to it?
>
> Use gunicorn with single process.
>
> Anand
>
> --
> 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.
>
>
--
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.