[mod_python] Help with Apache and mod_python

Paolo paolophp3 at gmail.com
Fri Dec 2 03:35:39 EST 2005

Hi all, I'm trying to setup Apache and mod_python in order tu run
Django (http://www.djangoproject.com/) with this setup.

I'm facing a problem that other people already have experienced: no
response is returned to the browser after each request is made. These
errors are notified in error_log:

[Fri Dec 02 09:20:48 2005] [notice] mod_python: Creating 32 session
mutexes based on 150 max processes and 0 max threads.
[Fri Dec 02 09:20:48 2005] [notice] Apache/2.0.55 (Unix)
mod_python/3.1.4 Python/2.4.2 configured -- resuming normal operations
[Fri Dec 02 09:20:48 2005] [info] Server built: Dec  1 2005 18:51:05
[Fri Dec 02 09:20:48 2005] [debug] prefork.c(956): AcceptMutex:
sysvsem (default: sysvsem)
[Fri Dec 02 09:20:51 2005] [notice] mod_python: (Re)importing module
[Fri Dec 02 09:20:54 2005] [notice] child pid 3645 exit signal
Segmentation fault (11)

I tried different configurations (apache 2.0.54/mod_python
3.1.4/python 2.3.4, apache 2.0.55/mod_python 3.1.4/python 2.3.4,
apache 2.0.55/mod_python 3.1.4/python 2.4.2) but I didn't see any
changes. Experiments happen on Slackware, kernel 2.4.26.

I discovered interesting information that might resemble my scenario
also: Expat Causing Apache Crash
(http://www.dscpl.com.au/articles/modpython-006.html), Segfault with
Vampire (http://www.modpython.org/pipermail/mod_python/2005-October/019390.html),
mod_python and MySQLDb won't work together
mod_python and mysql - problem solved!

I have followed the proposed solutions, but nothing applies succesfully.

As I already have stressed the helpful Django people at django-users
(complete thread for details at http://tinyurl.com/7k3qt), and the
issue is still unresolved, I guess that or the cause of this behavior
is so evident that it results even hard to trace, or that it's really

Can I have an opinion from you, too?

Finally... I'm using PythonDebug On and LogLevel debug. Is there some
way to obtain further details?


More information about the Mod_python mailing list