Problem
I am trying to start a daemon on my system and I am getting the error:
Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument
For example, if I run/usr/lib/apache/bin/apachectl configtestto test my Apache configuration I get the error:
Ouch! ap_mm_create(520168, "/usr/lib/apache/logs/httpd.mm.1433") failed Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument
Cause
Due to the new version of libmm provided in
Maintenance Pack 1, many SCO OpenServer daemons
now consume more System V IPC semaphores than
in previous releases. The default allocation
of unique semaphore sets that can be active at
any given time is now too low. Consequently,
the Apache Web Server, the DocView Help system,
and any other application that makes use of
in-kernel semaphores will not run after
Maintenance Pack 1 is installed. Solution
This problem has been reported to SCO Engineering and will be addressed in a future release of product.
To increase the semaphore allocation, set the SEMMNI tunable parameter to a minimum of 25. We recommend setting a value between 100 and 256. See "Kernel parameters that you can change using configure" in the Performance Guide and the configure(ADM) manual page for more information.