Technical article 125242

I get the error: "Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument"

OpenServer 5.0.7

Written · Last revised

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 configtest

to 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.

From the Xinuos technical article database, record 125242. Reproduced with permission. The original is at www.sco.com/ta/125242, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.