Graham Dumpleton
graham.dumpleton at gmail.com
Sun Mar 7 04:28:32 EST 2010
FWIW, run mod_python with prefork Apache and with a configuration set up for PHP and static file hosting alone is a bad idea. Read: http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html Graham On 7 March 2010 08:20, Christopher Sean Hilton <chris at vindaloo.com> wrote: > I'm getting slowdowns from my apache 2.0.63 + mod_python 3.3.1 server. This server is built on FreeBSD 7.2 using stock components from the FreeBSD ports collection. The webserver is doing multiple virtual hosts with a mixture of static and dynamic content. The dynamic pages are currently a php5. I intended to add mod_python to the mix so I could put together some sites with Django but I noticed a slowdown on the webserver immediately after adding mod_python as an apache DSO and adding: > > LoadModule libexec/apache2/mod_python.so > > to my httpd.conf file. This slowdown condition occurs for all content. It's especially apparent on a small collection of photos that I'm serving completely statically. Commenting out the LoadModule line for mod_python.so restores my performance to normal. > > I plan to continue investigating this but I have to say that it has me baffled. Has anyone got any ideas? > > -- Chris > > ---------------------------------------------------------------------------- > "There will be an answer, Let it be." > chris at vindaloo.com > > > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|