lvm commands fail, such as resume, with "Limit for the maximum number of semaphores reached."
Issue
- Some LVM commands (lvcreate, lvremove, dmsetup resume, ...) may fail due to a shortage of semaphores with this error:
Limit for the maximum number of semaphores reached. You can check and set the limits in /proc/sys/kernel/sem.
As a result the commands may fail to resume any devices they have suspended.
Environment
- Red Hat Enterprise Linux
- LVM2
- tuned
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.