[modwsgi] Re: mod_wsgi and number of processes/threads

2008-12-22 Thread Graham Dumpleton
2008/12/23 meppum mmep...@gmail.com: Okay, lets see if I have this right... If i have 2 apache servers and each apache server can have 25 threads that's 50 threads total. If mod_wsgi is running in daemon mode does that mean that each apache thread will spawn a mod_wsgi daemon? No. The

[modwsgi] Re: mod_wsgi and number of processes/threads

2008-12-22 Thread Graham Dumpleton
2008/12/23 meppum mmep...@gmail.com: Good thing I asked. So lets say I'm using nginx for my static file requests, and that only dynamic requests are fed to apache and that keepalives are OFF. Would you recommend against setting the apache process/thread settings equal to that of the mod_wsgi

[modwsgi] Re: mod_wsgi and number of processes/threads

2008-12-21 Thread Graham Dumpleton
2008/12/22 meppum mmep...@gmail.com: What about apache mpm settings? Any examples on what they should be for say the default WSGIDaemonProcess setting of 15 threads? Thanks. The defaults for standard Apache source distribution are: # worker MPM # StartServers: initial number of server

[modwsgi] Re: mod_wsgi and number of processes/threads

2008-11-18 Thread Graham Dumpleton
2008/11/19 Rob Hudson [EMAIL PROTECTED]: Is there a general rule of thumb that can guide a person on what numbers might need to be put for: WSGIDaemonProcess processes=X threads=Y I'm curious if knowing what your requests per [time period] is if that can guide you what to put here. I

[modwsgi] Re: mod_wsgi and number of processes/threads

2008-11-18 Thread Rob Hudson
On Tue, Nov 18, 2008 at 2:51 PM, Graham Dumpleton [EMAIL PROTECTED] wrote: Hmmm, even 1 hits per day is not a large site. Yeah, that's why I said larger to keep it relative. But doing the math and averaging out hits evenly, that's 1 request every 11 seconds or so... definitely not large at