commit 09c0629bb728ad342a41d844143d8e7437c925c4
Author: Sean Mooney <email address hidden>
Date: Thu Aug 19 14:32:42 2021 +0100
Use TCP keepalives for ovsdb connections
Ultimately, this is something that should be fixed in python-ovs,
but setting the SO_KEEPALIVE socket option benefits the client by
removing the need to send 'echo' requests, which can time out on
an overloaded ovsdb-server, which causes a disconnection which then#
adds even more load on the ovsdb-server as it has to send the entire
db contents over the wire after the connection is restored.
This patch ports the optimisation form neutron to reduce the likelyhood
of a reconnection which can cause the nova compute agent to hang
temporarily while the connection is reestablished.
Reviewed: https:/ /review. opendev. org/c/openstack /os-vif/ +/805223 /opendev. org/openstack/ os-vif/ commit/ 09c0629bb728ad3 42a41d844143d8e 7437c925c4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 09c0629bb728ad3 42a41d844143d8e 7437c925c4
Author: Sean Mooney <email address hidden>
Date: Thu Aug 19 14:32:42 2021 +0100
Use TCP keepalives for ovsdb connections
Ultimately, this is something that should be fixed in python-ovs,
but setting the SO_KEEPALIVE socket option benefits the client by
removing the need to send 'echo' requests, which can time out on
an overloaded ovsdb-server, which causes a disconnection which then#
adds even more load on the ovsdb-server as it has to send the entire
db contents over the wire after the connection is restored.
This patch ports the optimisation form neutron to reduce the likelyhood
of a reconnection which can cause the nova compute agent to hang
temporarily while the connection is reestablished.
Change-Id: I984ec62730276f 8ee60d71a02a98f bfc4c37f7d8
Related-Bug: #1930926
Partial-Bug: #1929446