Why Does the Gluster Client Process ( glusterfs ), Consume so Much Memory in Gluster versions below 3.4.4?
Issue
-
The resident set size of a glusterfs process in a Gluster client is showing a high amount of memory consumed. This can be verified in the
ps auxwww
command output:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 12443 40.0 1.0 4009164 2783356 ? Ssl 2019 2391:00 /usr/sbin/glusterfs --volfile-server=server1 --volfile-id=/vol01 /mnt/gluster-mount
The sixth field corresponds to the resident set size ( RSS). This value is expressed in KB, so the amount of memory consumed by the process posted above is approximately 2.7 GB.
-
How to reduce this high memory usage?
Environment
- Red Hat Gluster storage versions below 3.4.4
- Openshift Container Storage versions below 3.11.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.