Why is the heketi process consuming a lot of memory?
Issue
The amount of memory consumed by the Heketi process inside an Heketi pod spans quite a few GBs. Reviewing the field Resident Set Size
in a top output, it's several GBs big:
top - 01:32:15 up 194 days, 21:45, 0 users, load average: 2.44, 1.84, 1.75
Tasks: 4 total, 1 running, 3 sleeping, 0 stopped, 0 zombie
%Cpu(s):100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 32761712 total, 319360 free, 31203684 used, 1238668 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 1123544 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 21.9g 21.1g 7096 S 386.7 67.5 43172:24 heketi
Why this is so? How to fix this issue?
Environment
- Red Hat Openshift Container Storage version 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.