Re: ModPython + Virtual Hosting Apache2 instance = poor performance.

Graham Dumpleton <[email protected]> Sun, 7 Mar 2010 20:28:32 +1100
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
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-7VRIiXHg8cFWk0Htik3J/[email protected]> 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 FreeB=
SD 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 so=
me sites with Django but I noticed a slowdown on the webserver immediatel=
y after adding mod_python as an apache DSO and adding:
>
> =A0 =A0 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
>
> -----------------------------------------------------------------------=
-----
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 "There will be an answer, Let it be."
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0chris-7VRIiXHg8cFWk0Htik3J/[email protected]
>
>
>
>
> _______________________________________________
> Mod_python mailing list
> [email protected]
> http://mailman.modpython.org/mailman/listinfo/mod_python
>