<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@\7B49\7EBF";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:DengXian;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:DengXian;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In my recent test, I found that there are very severe glusterfsd memory leak when enable socket ssl option.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I monitor glusterfsd process RSS with command: <b>pidstat -r -p <glusterfsd pid> 1</b><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And at the same tme, execute command: <b>
gluster v heal <volume> info,</b> i find that the RSS keep increasing until system Out of memory.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have tried even with latest glusterfs5.5 version, this issue still exists,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Have you any idea about this issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The config in my env:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@mn-0:/var/lib/glusterd]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># gluster v info ccs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Volume Name: ccs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Type: Replicate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Volume ID: b565c958-2fef-4a39-811b-adce67aab20b<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Status: Started<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Snapshot Count: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Number of Bricks: 1 x 3 = 3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Transport-type: tcp<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Bricks:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Brick1: mn-0.local:/mnt/bricks/ccs/brick<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Brick2: mn-1.local:/mnt/bricks/ccs/brick<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Brick3: dbm-0.local:/mnt/bricks/ccs/brick<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Options Reconfigured:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">nfs.disable: on<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">transport.address-family: inet<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.server-quorum-type: none<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.quorum-reads: no<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ssl.private-key: /var/opt/nokia/certs/glusterfs/glusterfs.key<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.favorite-child-policy: mtime<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.consistent-metadata: on<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">network.ping-timeout: 42<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.quorum-type: auto<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">server.allow-insecure: on<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">server.ssl: on<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">ssl.own-cert: /var/opt/nokia/certs/glusterfs/glusterfs.pem<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">ssl.ca-list: /var/opt/nokia/certs/glusterfs/glusterfs.ca<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">client.ssl: on<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">performance.client-io-threads: off<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">cluster.server-quorum-ratio: 51%<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@mn-0:/var/lib/glusterd]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#<o:p></o:p></span></p>
</div>
</body>
</html>