How to keep track of which process is creating a System V IPC semaphore on the system?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
