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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content