2009/12/24 Szymon <[email protected]>: > Hello, > > I have some problems with mod_wsgi performance, so I will ask here for > help. I hope it's ok? :P > > Ok. I have Django application, big one. My setup is based on Apache > and mod_wsgi of course. There is WWW server and DB one. In rush hours > average load is higher than 30[1]. In rush hours I mean 80-90 req/s. > It is maximum what I can get from Core2Duo / 4 GB of RAM server or can > I make some configuration tweaks? > > What daemon processes (number) / mpm prefork configuration will be the > best?
What is the configuration you are using now? So, provide information such as: 1. Are you using separate media server for static files? 2. Are you using a front end proxy to Apache/mod_wsgi like nginx? 3. Are you using prefork or worker MPM? 4. Are you running other web application on same Apache using mod_php or other systems? 5. Is your Python web application running in embedded mode or daemon mode? 6. Have you read: http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html It is hard to give any advice without knowing. For all we know, you could just have configured your current system wrongly and if tweaked it could work fine. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
