[mod_python] ValueError: Failed to acquire global mutex lock

tropezien at croxx.de tropezien at croxx.de
Tue Nov 25 16:14:01 EST 2003

"Gregory (Grisha) Trubetskoy" <grisha at modpython.org> schrieb am
24.11.2003, 02:12:42:
> On Sun, 23 Nov 2003, Tropezien wrote:
> > Yes, I am running Slackware 9.1 with Apache 2.0.47 and mod_python
> > 3.1.2b. Some further investigations cleared up that mod_python tries to
> > get more than 400 semaphores during launch of httpd.
> Are you sure? 3.1.2b is not supposed to allocate more than MAX_LOCKS
> semaphores, which is 32. What does your log say when you start httpd?
Yes, you are right. The previously installed mod_python-3.1.0a made was
the culprit for my mentioned change in sysctl.conf. I have reset the
maximum amount of semaphores to the original value and mod_python starts
as well as before.

Ciao, Georg

More information about the Mod_python mailing list