[mod_python] ApplicationPath kills performance?

Jason Stubbs jstubbs at work-at.co.jp
Wed Sep 14 21:22:19 EDT 2005


Just a little bump...

Jason Stubbs wrote:
> DirectoryIndex index.psp
> AddHandler mod_python .psp
> PythonHandler mod_python.psp
> PythonPath "['/var/www/localhost/pythonlib']+sys.path"
> PythonOption ApplicationPath /
> 
> $ ./ab -c 5 -n 500 http://192.168.1.101/index.psp
> ...
> Requests per second:    3.85 [#/sec] (mean)
> 
> However, after removing the ApplicationPath:
> 
> Requests per second:    552.10 [#/sec] (mean)

Note that sessions are not in use in the script.

> Obligatory version information is as follows:
> 
> httpd       2.0.54-r9
> mod_python  3.1.3-r1
> python      2.4.1-r1
> (-r components are Gentoo patch-levels)
> 
> Any help would be appreciated.

Still the same sentiment.

--
Jason Stubbs


More information about the Mod_python mailing list