-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ovn] Stop monitoring the SB MAC_Binding table to reduce mem footprint
The MAC_Binding table in the SB database may grow indefinitely (due to a lack of an aging mechanism of its entries) and eventually lead to OOM killers for neutron-server which maintains an in-memory copy of the database. In order to stop monitoring this table, this patch is invoking the ovsdb-client tool to remove the entries associated to Floating IPs that have just been detached. The execution of this tool is really fast as it will just invoke a JSON-RPC transact command which doesn't require downloading the database contents. In a scale test, the memory consumption of neutron-server dropped from 75GB to 7GB with this patch. Closes-Bug: #1946318 Signed-off-by: Daniel Alvarez Sanchez <dalvarez@redhat.com> Change-Id: Id84bf17953527c415d611bfc198038fb6f811de3
- Loading branch information
Showing
4 changed files
with
63 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters