How to determine the value of SEMMNS since the limit is governed by the amount of RAM available on the system ?

Solution Unverified - Updated -

Issue

  • What is the maximum amount of value assigned to SEMMNS ?
  • How to calculate if SEMMNS assigned for semaphore is too much for a system ?
  • Should the value of SEMMNS be determined as per the kernel code:
#define SEMMNS  (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in system */

Environment

  • Red Hat Enterprise Linux(All version).

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.