How to keep track of which process is creating a System V IPC semaphore on the system?

Solution Unverified - Updated -

Issue

  • System is often hitting the limit of number of System V IPC semaphores allowed. It seems processes are exiting without cleaning its created semaphore sets.
  • ipcs -s -i <semid> shows a pid for a process which isn't running anymore. I would like to keep track/know which process is creating semaphores on the system.

Environment

  • Red Hat Enterprise Linux

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