Chrooted Python problem

John isofroni at
Sun Dec 5 20:10:36 CET 2004

Hello to all

I lately installed the python 2.3 and mod_python 2.7.10

My apache runs in a chrooted enviroment so i want to chroot pyton and mod_python as well.

I have copy the

 /usr/local/apache/libexec/ -> /chroot /usr/local/apache/libexec/ 

/usr/local/lib/python2.3 -> /chroot/usr/local/lib/python2.3

/usr/local/bin/python -> /chroot/usr/local/bin/python

And some .so files in the /chroot/lib directory that the 

ldd /usr/local/bin/python 
ldd /usr/local/apache/libexec/

The problem is that i can start the apache in the chrooted enviroment but its childs (or children) processes (of apache) increasing and increasing until the
apache crashes (160-200 apache process).

When i disable the loading of in the httpd.conf then everything works well like it used to.

Do you know any cure about that problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list