How to adjust ulimits for different OpenStack containers?

Solution Verified - Updated -

Issue

  • How to change ulimit parameters for different OpenStack containers?
  • Increase ulimit parameters for the following containers:

    • cinder-volume
    • neutron-dhcp
    • neutron-l3
    • neutron-ovs-agent
    • nova-compute
  • Neutron DHCP agent logs the following error:

    File "/usr/lib64/python2.7/subprocess.py", line 1224, in _execute_child\n    self.pid = os.fork()\n', 'OSError: [Errno 12] Cannot allocate memory\n']: OSError: [Errno 12] Cannot allocate memory
    
  • nova-compute ... <... socket resumed> ) = -1 EMFILE (Too many open files)

Environment

  • Red Hat OpenStack Platform 13
  • Red Hat OpenStack Platform 14

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