Too many open files when large number of routers on a host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Open vSwitch Charm |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Committed
|
Medium
|
James Page | ||
Ocata |
Fix Released
|
Medium
|
James Page | ||
Pike |
Fix Released
|
Medium
|
James Page | ||
openvswitch (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
James Page | ||
Artful |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
OpenStack environments running large numbers of routers and dhcp agents on a single host can hit the NOFILES limit in OVS, resulting in broken operation of virtual networking.
[Test Case]
Deploy openstack environment; create large number of virtual networks and routers.
OVS will start to error with 'Too many open files'
[Regression Potential]
Minimal - we're just increasing the NOFILE limit via the systemd service definition.
[Original Bug Report]
When there are a large number of routers and dhcp agents on a host, we see a syslog error repeated:
"hostname ovs-vswitchd: ovs|1762125|
If I check the number of filehandles owned by the pid for "ovs-vswitchd unix:/var/
If I then run the following, we double the limit and (in our case) saw the count rise to >80000:
prlimit -p $pid --nofile=131070
We need to be able to:
- monitor via nrpe, if the process is running short on filehandles
- configure the limit so we have the option to not run out.
Currently, if I restart the process, we'll lose this setting.
Needless to say, openvswitch running out of filehandles causes all manner of problems for services which use it.
CVE References
Changed in openvswitch (Ubuntu Artful): | |
status: | Triaged → Won't Fix |
tags: | added: sts-sru-needed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
tags: |
added: sts-sru-done removed: sts-sru-needed |
This needs fixing in the systemd units for ovs; raising packaging tasks.