I know this has been open for a year now, but for what it's worth, we're
seeing the same issue on two of our three Neutron nodes. A whole lot of
entries in /var/log/openvswitch/ovs-vswitchd.log like the following:

2020-05-22T00:19:25.581Z|18410|poll_loop(handler74)|INFO|Dropped 2973816 log 
messages in last 6 seconds (most recently, 0 seconds ago) due to excessive rate
2020-05-22T00:19:25.581Z|18411|poll_loop(handler74)|INFO|wakeup due to [POLLIN] 
on fd 35 (unknown anon_inode:[eventpoll]) at ../lib/dpif-netlink.c:2786 (98% 
CPU usage)

We're running Neutron in Rocky on Ubuntu 18.04:

# uname -r
4.15.0-99-generic

# dpkg -l | grep openvswitch-
ii  neutron-openvswitch-agent              2:13.0.6-0ubuntu1~cloud0             
           all          Neutron is a virtual network service for Openstack - 
Open vSwitch plugin agent
ii  openvswitch-common                     2.10.0-0ubuntu2~cloud0               
           amd64        Open vSwitch common components
ii  openvswitch-switch                     2.10.0-0ubuntu2~cloud0               
           amd64        Open vSwitch switch implementations

Looking at the ovs-vswitchd process itself:

# timeout 10 strace -c -p 1227
strace: Process 1227 attached
strace: Process 1227 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 96.28    9.059391       28852       314           poll
  3.03    0.284833      284833         1           restart_syscall
  0.28    0.026164          13      1968           sendmsg
  0.27    0.025726          67       385       208 recvfrom
  0.07    0.006302           3      2220       252 recvmsg
  0.02    0.002327           7       315        69 read
  0.02    0.002157           2       930       171 futex
  0.02    0.002075           5       378       378 accept
  0.01    0.000532           2       316           getrusage
  0.00    0.000238          14        17           sendto
  0.00    0.000034          11         3           write
------ ----------- ----------- --------- --------- ----------------
100.00    9.409779                  6847      1078 total

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827264

Title:
  ovs-vswitchd thread consuming 100% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1827264/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to