[mod_python] Getting the script name with publisher

Damjan gdamjan at mail.net.mk
Tue Sep 2 01:50:41 EST 2003


> I have this simple script (test.py) that handled by the publisher:

I forgot to mention the test I made were with:
mod_python 3.0.3/ Python 2.3/ Apache 2.0.47 on Slackware-9.0+


PS.
for some strange reason mod_python-3.1.0a would crash Apache on my computer:

mod_python: Creating 256 session mutexes based on 256 max processes and 0 max threads.
(28)No space left on device: mod_python: Failed to create global mutex 127 of 256 (/tmp/mpmtx27278127).
mod_python: We can probably continue, but with diminished ability to process session locks.
mod_python: Hint: On Linux, the problem may be the number of available semaphores, check 'sysctl kernel.sem'
pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
(28)No space left on device: Couldn't create accept lock

PS2. 
while writing this I solved the mod_python-3.1.0a issue with:

    echo "32000 512 512 512" > /proc/sys/kernel/sem
    
and I also found out that my script works as expected in 3.1.0a 
:)



-- 
Damjan Georgievski
jabberID: damjan at bagra.net.mk


More information about the Mod_python mailing list