Bug 1973447 - ovn-dbchecker peak memory spikes to ~500MiB during cluster-density run
Summary: ovn-dbchecker peak memory spikes to ~500MiB during cluster-density run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.0
Assignee: Tim Rozet
QA Contact: Mike Fiedler
URL:
Whiteboard: perfscale-ovn
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-17 20:19 UTC by Mohit Sheth
Modified: 2022-03-10 16:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:04:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 834 0 None Merged [DownstreamMerge] Revert revert 2021-12-01 17:03:29 UTC
Github ovn-org ovn-kubernetes pull 2554 0 None open ovn-db-checker: don't use ovsdb-tool for sid 2021-10-08 19:20:42 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:04:33 UTC

Description Mohit Sheth 2021-06-17 20:19:38 UTC
Description of problem:
When I run cluster-density with 500 namespaces on a cluster with 20 nodes, sharp peaks are observed multiple (~10) times which show that the ovn-dbchecker container consumes ~500MiB RSS. 

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-06-13-101614

How reproducible:
Always

Steps to Reproduce:
1. Run cluster-density on 20 nodes with 500 namespaces

Actual results:
Sharp peaks for ovn-dbchecker

Expected results:
No sharp peaks

Additional info:

Comment 4 Tim Rozet 2021-10-06 18:32:53 UTC
root cause is ovsdb-tool loading the entire database and consuming a lot of CPU to search for the server id. https://bugzilla.redhat.com/show_bug.cgi?id=2011468 is filed to track this on the OVSDB side

Comment 5 Tim Rozet 2021-10-08 19:20:42 UTC
removing the dependent ovsdb-tool bug. We will migrate to using ovn-appctl in ovn-kubernetes:
https://github.com/ovn-org/ovn-kubernetes/pull/2554

Comment 7 Mike Fiedler 2021-12-03 20:41:31 UTC
Verified on 4.10.0-0.nightly-2021-12-02-140313.  20 node cluster and 500 iteration cluster-density.   No spikes in ovn-dbchecker memory usage - it was stable at 22-26 MiB throughout the run.

Comment 12 errata-xmlrpc 2022-03-10 16:04:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.