[modwsgi] Re: Symbol not found: _PyExc_KeyError

2009-04-17 Thread frank h.
Graham, [Fri Apr 17 10:50:03 2009] [notice] Apache/2.0.63 (Unix) mod_wsgi/2.4 Python/2.6.2 DAV/2 configured -- resuming normal operations it worked!! the new configure script did the trick! thank you very much. cheers, -frank On Apr 16, 2:35 pm, Graham Dumpleton graham.dumple...@gmail.com

[modwsgi] Re: Symbol not found: _PyExc_KeyError

2009-04-17 Thread Graham Dumpleton
2009/4/17 frank h. frank.hoffsum...@gmail.com: Graham, [Fri Apr 17 10:50:03 2009] [notice] Apache/2.0.63 (Unix) mod_wsgi/2.4 Python/2.6.2 DAV/2 configured -- resuming normal operations it worked!! the new configure script did the trick! Thanks for letting me know. I have added a note to

[modwsgi] Re: worker MPM + mod_wsgi questions

2009-04-17 Thread Graham Dumpleton
2009/4/17 Andy selforgani...@gmail.com: A few questions about mod_wsgi: - I've seen blog posts recommending using worker MPM with mod_wsgi. How does Python's GIL affect this? Let's say I have a quad core machine. Do i need to make sure Apache spawns at least 4 processes to take advantage

[modwsgi] Re: Is this correct way for using mod_wsgi

2009-04-17 Thread Graham Dumpleton
2009/4/17 Johny pyt...@hope.cz: Graham, Thank you for your reply. I red the articles with given link but yet not sure how I should set mod_wsgi. I have this Apache settings( MPM worker) StartServers         2 MaxClients         150 MinSpareThreads     25 MaxSpareThreads     75

[modwsgi] Re: Intermittent NoReverseMatch errors

2009-04-17 Thread Alex Robbins
When you say 'Also, I get no errors if I remove the maximum-requests', is that on all configurations? Yes, that fixes it in all of the cases. When you run your tests, are requests always sequential? Ie., no concurrent requests. No, the url checker is threaded, it normally runs 10 concurrent

[modwsgi] Re: worker MPM + mod_wsgi questions

2009-04-17 Thread Michael Schurter
On Fri, Apr 17, 2009 at 4:41 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/17 Andy selforgani...@gmail.com: A few questions about mod_wsgi: - I've seen blog posts recommending using worker MPM with mod_wsgi. How does Python's GIL affect this? Let's say I have a quad core

[modwsgi] Re: Is this correct way for using mod_wsgi

2009-04-17 Thread Johny
Graham, Thank you the explanation. So I am recommended to give instance 2 or 3 processes. and set threads =1 . But if one virtual server has about 1500 times more requests ( and allows files uploading) than other virtual servers, how should I set this one server? In the same way? Thank you

[modwsgi] Re: worker MPM + mod_wsgi questions

2009-04-17 Thread Graham Dumpleton
2009/4/18 Michael Schurter michael.schur...@gmail.com: On Fri, Apr 17, 2009 at 4:41 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: 2009/4/17 Andy selforgani...@gmail.com: A few questions about mod_wsgi: - I've seen blog posts recommending using worker MPM with mod_wsgi. How does

[modwsgi] Re: Is this correct way for using mod_wsgi

2009-04-17 Thread Graham Dumpleton
2009/4/18 Johny pyt...@hope.cz: Graham, Thank you the explanation. So I am recommended to give  instance 2 or 3 processes. and set threads =1 . If your application is not thread safe, then it would be a reasonable starting point. If they are low traffic sites you could probably get away