tripleo-heat-templates/releasenotes/notes/add_params_to_configure_ulimit-2359aa058da58054.yaml
yatin 70276931a4 Set ulimit for nova-compute and cinder-volume
Nova compute and cinder volume uses oslo concurrency
processuitls.execute to run privileged commands.
Containers inherit file descriptor limit from docker daemon
(currently:1048576) which is too high and leads to performance
issue. This patch sets nofile limit to 1024 for nova compute
and 131072 for cinder volume, which is reasonable as before
containers nova compute used host defaults i.e 1024 and cinder
volume systemctl override([1]) i.e 131072. Also updated neutron
l3, dhcp and ovs agent to use Parameters for ulimit configuration.

[1] https://review.rdoproject.org/r/#/c/1360/.

Closes-Bug: #1762455
Related-Bug: #1760471
Related-Bug: #1757556
Change-Id: I4d4b36de32f8a8e311efd87ea1c4095c5568dec4
2018-04-12 11:14:02 +05:30

16 lines
550 B
YAML

---
features:
- |
Add Parameters to Configure Ulimit for Containers.
These parameters can be used to configure ulimit
per container basis as per the requirement of the
deployment.
Following parameters are added for neutron, nova
and cinder:-
- DockerNeutronDHCPAgentUlimit defaults to nofile=1024
- DockerNeutronL3AgentUlimit defaults to nofile=1024
- DockerOpenvswitchUlimit defaults to nofile=1024
- DockerNovaComputeUlimit defaults to nofile=1024
- DockerCinderVolumeUlimit defaults to nofile=131072