Logo Linux Bash SSH Ubuntu Git Menu
 

multiple django mod_python performance issue

Tags:

mod-python

I have two server with two version of django 0.9.6 and 1.0.2.

both are used, for some older sites(where migration is still pending) and now ppl have started using 1.0.2.

I have apache 2.2.9 and mod_python 3.3.1 on a RHEL 4 32 bit server.

In one server all sites irespective of django version works pretty fast.

but in the second server site with django 1.0.2 takes a initial loading time of 4-5 sec(waiting for site....in status bar).

All caching/compreesion etc. are perfectly done.

I suspect some mod_python/django isolation issue, where my apache Keep-Alive is on.

BUt again these two server has simillar apache settings, so its a crazy moment for me now. I even compared all file permission/library installed etc.

Kindly advice how do i proceed.

Best Regards Debajit


1 Answers

Django recommends mod_wsgi for productive installations. See http://docs.djangoproject.com/en/dev/topics/install/#install-apache-and-mod-wsgi for more informations. Maybe you give this Apache module a try and see if the issue remains.

like image 124
chrw Avatar answered Apr 15 '26 03:04

chrw