Summary: | mod_python under apache +threads needs sysctl settings | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dima Tisnek <dimaqq> |
Component: | New packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | python |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dima Tisnek
2006-06-26 07:03:57 UTC
(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 :) |