Bug 2111139 - crio increase percpu memory and can't be freed
Summary: crio increase percpu memory and can't be freed
Keywords:
Status: CLOSED DUPLICATE of bug 2004037
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Unknown
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Sudha Ponnaganti
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-26 14:56 UTC by roarora
Modified: 2022-08-08 18:10 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-08 18:10:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description roarora 2022-07-26 14:56:47 UTC
Description of problem:

Previous Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2049289

percpu memory keeps on increasing over time and is not freed on OpenShift CoreOS nodes with crio

As per previous bugzilla recommendation,Tried switching to logging driver as journald but behavior is still the same.


$ cat uname 
Linux foo.bar.com 4.18.0-305.45.1.el8_4.x86_64 #1 SMP Wed Apr 6 13:48:37 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

containers-common-1.3.1-5.module+el8.4.0+11990+22932769.x86_64 Mon May 23 21:37:21 2022
container-selinux-2.170.0-2.rhaos4.8.el8.noarch             Mon May 23 21:37:20 2022
criu-3.15-1.module+el8.4.0+11822+6cc1e7d7.x86_64            Mon May 23 21:37:21 2022
cri-o-1.21.7-3.rhaos4.8.git57607b4.el8.x86_64               Mon May 23 21:37:21 2022
cri-tools-1.21.0-4.el8.x86_64    

 find sys/fs/cgroup/memory -type d | wc -l
640

cat proc/cgroups | grep -E "name|memory"
#subsys_name	hierarchy	num_cgroups	enabled
memory	6	3948	1

grep -E "MemTotal|MemFree|Percpu" proc/meminfo
MemTotal:       32897520 kB
MemFree:          485260 kB
Percpu:          1455104 kB

Comment 2 Tom Sweeney 2022-07-26 20:14:21 UTC
Giuseppe,

Can you take another dive into this please?

Comment 3 Giuseppe Scrivano 2022-07-26 20:39:22 UTC
is the systemd log on a tmpfs?

Make sure the systemd journal is not on `/run/systemd/journal`, otherwise it still needs memory.

Comment 5 Giuseppe Scrivano 2022-08-08 08:35:33 UTC
@roarora, yes thanks for confirming.  I meant that.

The previous bug linked in the report refers to an issue with Podman.

Since the current bug is related to CRI-O, I am reassigning to the Node team

Comment 6 Peter Hunt 2022-08-08 13:30:51 UTC
this looks like a dup of https://bugzilla.redhat.com/show_bug.cgi?id=2004037. Did they ever try the test kernel?

Comment 8 Peter Hunt 2022-08-08 18:10:43 UTC

*** This bug has been marked as a duplicate of bug 2004037 ***


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