if you’re getting things like:
(28)No space left on device: mod_python: Failed to create global mutex 23 of 32 (/tmp/blahblahblah).
[Wed Apr 14 11:53:47 2004] [error] mod_python: We can probably continue, but with diminished ability to process session locks.
[Wed Apr 14 11:53:47 2004] [error] mod_python: Hint: On Linux, the problem may be the number of available semaphores, check 'sysctl kernel.sem'
(28)No space left on device: Couldn't create accept lock
then this tip is for you!
Apache seems to leave behind semaphores (whatever those are) and you’ll get the above errors if it does. Running this command fixed it for me:
ipcrm sem `ipcs -s | grep apache | cut -d’ ‘ -f2`