I have emerged the following: USE="threads ssl apache2" ACCEPT_KEYWORDS="~amd64" emerge -av apache mod_python (apache-2.0.58, mod_python-3.1.4-r1) ran etc-update and then added -D PYTHON in /etc/conf.d/apache Apache would not start with the following: [error] (28)No space left on device: mod_python: Failed to create global mutex 0 of 32 (/tmp/mpmtx16120). Apparentely kernel (2.6.16-r2 gentoo) settings (I had default) for sysv semaphores need to be tweaked - I used the following found on the net: sysctl -w kernel.sem="512 32000 100 512" If these settings are needed, ebuild shouls install them into /etc/sysctl.conf The actual values depend on mod_python settings (can't locate) and, I suppose, on apache options too (mpm_*, threads). Cheers
(In reply to comment #0) > I have emerged the following: > USE="threads ssl apache2" ACCEPT_KEYWORDS="~amd64" emerge -av apache mod_python > (apache-2.0.58, mod_python-3.1.4-r1) > ran etc-update and then added -D PYTHON in /etc/conf.d/apache > > Apache would not start with the following: > [error] (28)No space left on device: mod_python: Failed to create global mutex > 0 of 32 (/tmp/mpmtx16120). > > Apparentely kernel (2.6.16-r2 gentoo) settings (I had default) for sysv > semaphores need to be tweaked - I used the following found on the net: > sysctl -w kernel.sem="512 32000 100 512" Is this still an issue with >=2.6.17 ?
Waiting on user info, please reopen if needed. Best regards, CHTEKK.
the problem is no longer there, i suspect due to a newer version of mod_python following versions work for me out of the box: dev-python/mod_python-3.2.10 net-www/apache-2.0.59-r2 sys-kernel/gentoo-sources-2.6.17-r2 the default sysctl settings are the same, so I doubt that kernel upgrade had anything to do with it :)