lvm commands fail, such as resume, with "Limit for the maximum number of semaphores reached."

Solution Verified - Updated -

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 6
    • LVM2
    • tuned

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