[Bug 1737866] Re: Too many open files when large number of routers on a host
Launchpad Bug Tracker
1737866 at bugs.launchpad.net
Fri Feb 2 17:07:02 UTC 2018
This bug was fixed in the package openvswitch - 2.8.1-0ubuntu3
openvswitch (2.8.1-0ubuntu3) bionic; urgency=medium
* Updates to systemd configuration:
- Move to distinct units for ovsdb-server and ovs-vswitchd.
* Drop obsolete upstart configuration file.
* Bump nofiles to 1048576 for ovs daemons (LP: #1737866).
* d/control: Bump minimum debhelper version to 10, drop BD on
Cherry pick in-flight fixes for workaround to correctly set MTU
of GRE devices via netlink (LP: #1742505).
-- James Page <james.page at ubuntu.com> Thu, 18 Jan 2018 15:26:41 +0200
** Changed in: openvswitch (Ubuntu Bionic)
Status: Fix Committed => Fix Released
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
Too many open files when large number of routers on a host
Status in OpenStack neutron-openvswitch charm:
Status in openvswitch package in Ubuntu:
Status in openvswitch source package in Xenial:
Status in openvswitch source package in Artful:
Status in openvswitch source package in Bionic:
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|netlink_socket|ERR|fcntl: Too many
If I check the number of filehandles owned by the pid for "ovs-
vswitchd unix:/var/run/openvswitch/db.sock" I see close to/at 65535
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.
To manage notifications about this bug go to:
More information about the Ubuntu-openstack-bugs