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, 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