From bc30fb036947473c53515ff96e800d8e4e3468da Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Tue, 9 Apr 2019 10:26:27 +0200 Subject: [PATCH] Increase default ulimit values for Neutron agents containers For containers where Neutron DHCP, L3 and OVS agents are running there is limit for number of opened files set. This limit was configured by default to 1024 which looks that is quite low and can cause problems even with relatively small number of networks or routers handled by agent. This patch increase default ulimit values for those containers to be 16x higher than it was before. Such value should allow to handle much more routers or networks and shouldn't be too high for any system. Conflicts: deployment/neutron/neutron-ovs-agent-container-puppet.yaml Change-Id: Ibc8fa0c1ccd4f60ec7c876623a7262003197f67d Closes-bug: #1824020 (cherry picked from commit 5d3fe630db336b54284a05720f5ef0d3fc8bd729) --- docker/services/neutron-dhcp.yaml | 2 +- docker/services/neutron-l3.yaml | 2 +- docker/services/neutron-ovs-agent.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/services/neutron-dhcp.yaml b/docker/services/neutron-dhcp.yaml index a255cfd1b9..a7a60c4966 100644 --- a/docker/services/neutron-dhcp.yaml +++ b/docker/services/neutron-dhcp.yaml @@ -11,7 +11,7 @@ parameters: description: The container image to use for the neutron config_volume type: string DockerNeutronDHCPAgentUlimit: - default: ['nofile=1024'] + default: ['nofile=16384'] description: ulimit for Neutron DHCP Agent Container type: comma_delimited_list NeutronEnableDnsmasqDockerWrapper: diff --git a/docker/services/neutron-l3.yaml b/docker/services/neutron-l3.yaml index a78fb2d25e..d99b8ababf 100644 --- a/docker/services/neutron-l3.yaml +++ b/docker/services/neutron-l3.yaml @@ -11,7 +11,7 @@ parameters: description: The container image to use for the neutron config_volume type: string DockerNeutronL3AgentUlimit: - default: ['nofile=1024'] + default: ['nofile=16384'] description: ulimit for Neutron L3 Agent Container type: comma_delimited_list NeutronEnableKeepalivedWrapper: diff --git a/docker/services/neutron-ovs-agent.yaml b/docker/services/neutron-ovs-agent.yaml index 42ddc04134..04049ce42a 100644 --- a/docker/services/neutron-ovs-agent.yaml +++ b/docker/services/neutron-ovs-agent.yaml @@ -11,7 +11,7 @@ parameters: description: The container image to use for the neutron config_volume type: string DockerOpenvswitchUlimit: - default: ['nofile=1024'] + default: ['nofile=16384'] description: ulimit for Openvswitch Container type: comma_delimited_list ServiceData: