How can one set vmem parameter from ulimits.conf file?

Solution Unverified - Updated -

Issue

  • Have a request to set the ulimit value vmem virtual_memory to 125% of RAM.
  • The default is:
[root@localhost]# ulimit -v
unlimited
  • Is there a way to set this in the /etc/security/limits.conf file?
  • When the value is added to the limits.conf file, it ignores that and leaves the value at unlimited
*       soft    vmem     1153433
*       hard    vmem     1153433

Environment

  • Red Hat Enterprise Linux 6

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.