<div dir="ltr">Hi,<div><br></div><div>Please take statedumps of the 3.12.13 client process at intervals when the memory is increasing and send those across. </div><div>We will also need the gluster volume info for the volume int question.</div><div><br></div><div>Thanks,</div><div>Nithya</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 August 2018 at 08:32, huting3 <span dir="ltr">&lt;<a href="mailto:huting3@corp.netease.com" target="_blank">huting3@corp.netease.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    

<div>

<div style="font-family:Helvetica,Helvetica,微软雅黑,宋体;line-height:1.6">
    <div></div><div>
    <div>
        <span>Thanks for your reply, I also test gluster 3.12.13 and found the client also consumes huge memory:</span></div><div><br></div><div><div>PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND</div><div>180095 root      20   0 4752256 4.091g   4084 S  43.5  1.6  17:54.70 glusterfs</div></div><div><br></div><div>I read and write some files on the gluster fuse client, the client consume 4g memory and it keeps arising.</div><div><br></div><div>Does it really fixed in 3.12.13?</div><span class=""><div><br></div><div>
    </div>
    <div style="font-family:&#39;Helvetica&#39;,&#39;Microsoft Yahei&#39;,&#39;\005fae\008f6f\0096c5\009ed1&#39;">
      
    <div style="font-size:14px;padding:0;margin:0;line-height:14px">
        <div style="border-bottom:1px solid #e6e6e6;display:inline-block">
                    <a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?&amp;name=huting3&amp;uid=huting3%40corp.netease.com&amp;ftlId=1&amp;iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&amp;items=%5B%22huting3%40corp.netease.com%22%5D&amp;logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2F209a2912f40f6683af56bb7caff1cb54.png" style="display:block;background:#fff;max-width:400px;padding:15px 0 10px 0;text-decoration:none;outline:none" target="_blank">
            <table cellpadding="0" style="width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;color:#9b9ea1;font-size:14px;line-height:1.3">
                <tbody style="font-family:&#39;PingFang SC&#39;,&#39;Hiragino Sans GB&#39;,&#39;WenQuanYi Micro Hei&#39;,&#39;Microsoft Yahei&#39;,&#39;\005fae\008f6f\0096c5\009ed1&#39;,verdana!important;word-wrap:break-word;word-break:break-all">
                    <tr>
                            <td width="38" style="padding:0;box-sizing:border-box;width:38px">
                                <img width="38" height="38" style="vertical-align:middle;width:38px;height:38px;border-radius:50%" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png">
                            </td>
                            <td style="padding:0 30px 0 10px;color:#31353b">
                                <div style="font-size:16px;font-weight:bold;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">huting3</div>
                            </td>
                            <td width="72" style="text-align:right;width:72px">
                                <img width="72" height="20" style="width:72px;height:20px" src="https://mail-online.nosdn.127.net/qiyelogo/209a2912f40f6683af56bb7caff1cb54.png">
                            </td>
                    </tr>
                        <tr width="100%" style="font-size:14px!important;width:100%">
                            <td colspan="3" style="padding:10px 0 0 0;font-size:14px!important;width:100%">
                                    <div style="width:100%;font-size:14px!important;word-wrap:break-word;word-break:break-all">huting3@corp.netease.com</div>
                            </td>
                        </tr>
                </tbody>
            </table>
        </a>
        </div>
    </div>
    <div style="font-size:12px;color:#b5b9bd;margin-top:8px;line-height:18px">
        <span>签名由</span>
        <a style="text-decoration:none;color:#4196ff;padding:0px" href="https://mail.163.com/dashi/dlpro.html?from=mail81" target="_blank">网易邮箱大师</a>
        <span>定制</span>
    </div>
 </div>
    <br>
</span></div><div><div class="h5"><div class="m_-2004873185958670532J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:&#39;&#39; Helvetica &#39;,&#39; Microsoft Yahei &#39;, &#39; 微软雅黑 &#39;&#39;">
    <div style="font-size:12px;line-height:1.6;word-break:break-all;margin-left:10px;margin-right:10px">On <span class="m_-2004873185958670532mail-date">08/30/2018 22:37</span>,<a class="m_-2004873185958670532mail-to" style="text-decoration:none;color:#2a83f2" href="mailto:budic@onholyground.com" target="_blank">Darrell Budic&lt;budic@onholyground.com&gt;</a> wrote: </div>
</div>
<blockquote id="m_-2004873185958670532ntes-pcmail-quote" style="margin:0;padding:0;font-size:14px;font-family:&#39;&#39; Helvetica &#39;,&#39; Microsoft Yahei &#39;, &#39; 微软雅黑 &#39;&#39;">
It’s probably <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1593826" target="_blank">https://bugzilla.<wbr>redhat.com/show_bug.cgi?id=<wbr>1593826</a>, although I did not encounter it in 3.12.8, only 3.12.9 - 12.<div><br></div><div>It’s fixed in 3.12.13.</div><div><br><div><blockquote type="cite"><hr style="border:none;border-top:solid #b5c4df 1.0pt;padding:0 0 0 0;margin:10px 0 5px 0"><span id="m_-2004873185958670532RwhHeaderAttributes"><font face="Helvetica" size="4" color="#000000" style="font:13.0px Helvetica;color:#000000"><b>From:</b> huting3 &lt;<a href="mailto:huting3@corp.netease.com" target="_blank">huting3@corp.netease.com</a>&gt;</font></span><br>
<span><font face="Helvetica" size="4" color="#000000" style="font:13.0px Helvetica;color:#000000"><b>Subject:</b> [Gluster-users] gluster 3.12.8 fuse consume huge memory</font></span><br>
<span><font face="Helvetica" size="4" color="#000000" style="font:13.0px Helvetica;color:#000000"><b>Date:</b> August 30, 2018 at 2:02:01 AM CDT</font></span><br>
<span><font face="Helvetica" size="4" color="#000000" style="font:13.0px Helvetica;color:#000000"><b>To:</b> <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a></font></span><br>
<br class="m_-2004873185958670532Apple-interchange-newline"><div><div style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Helvetica,Helvetica,微软雅黑,宋体;line-height:1.6"><div></div><div><div><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>The version of glusterfs I installed is 3.12.8, and I find it`s client also consume huge memory.</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span><br></span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>I dumped the statedump file, and I found the size of a variable is extreamly huge like below:</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span><br></span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>[mount/fuse.fuse - usage-type gf_fuse_mt_iov_base memusage]</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>  49805 size=4250821416</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>  49806 num_allocs=1</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>  49807 max_size=4294960048</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>  49808 max_num_allocs=3</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>  49809 total_allocs=12330719</span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span><br></span></p><p style="font-stretch:normal;font-size:11px;line-height:normal;font-family:&quot;Helvetica Neue&quot;"><span>Is it means a memory leak exist in glusterfs client?</span></p></div><div><span><br></span></div><div></div><div style="font-family:Helvetica,&quot;Microsoft Yahei&quot;,微软雅黑"><div style="font-size:14px;padding:0px;margin:0px;line-height:14px"><div style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(230,230,230);display:inline-block"><a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?&amp;name=huting3&amp;uid=huting3%40corp.netease.com&amp;ftlId=1&amp;iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&amp;items=%5B%22huting3%40corp.netease.com%22%5D&amp;logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2F209a2912f40f6683af56bb7caff1cb54.png" style="display:block;background-color:rgb(255,255,255);max-width:400px;padding:15px 0px 10px;text-decoration:none;outline:none;background-position:initial initial;background-repeat:initial initial" target="_blank"><table cellpadding="0" style="width:400px;max-width:100%;table-layout:fixed;border-collapse:collapse;color:rgb(155,158,161);font-size:14px;line-height:1.3"><tbody style="word-wrap:break-word;word-break:break-all;font-family:&quot;PingFang SC&quot;,&quot;Hiragino Sans GB&quot;,&quot;WenQuanYi Micro Hei&quot;,&quot;Microsoft Yahei&quot;,微软雅黑,verdana!important"><tr><td width="38" style="padding:0px;box-sizing:border-box;width:38px"><img width="38" height="38" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" style="vertical-align:middle;width:38px;height:38px;border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:50%"></td><td style="padding:0px 30px 0px 10px;color:rgb(49,53,59)"><div style="font-size:16px;font-weight:bold;width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">huting3</div></td><td width="72" style="text-align:right;width:72px"><img width="72" height="20" src="https://mail-online.nosdn.127.net/qiyelogo/209a2912f40f6683af56bb7caff1cb54.png" style="width:72px;height:20px"></td></tr><tr width="100%" style="width:400px;font-size:14px!important"><td colspan="3" style="padding:10px 0px 0px;width:400px;font-size:14px!important"><div style="width:400px;word-wrap:break-word;word-break:break-all;font-size:14px!important">huting3@corp.netease.com</div></td></tr></tbody></table></a></div></div><div style="font-size:12px;color:rgb(181,185,189);margin-top:8px;line-height:18px"><span>签名由</span><span class="m_-2004873185958670532Apple-converted-space"> </span><a href="https://mail.163.com/dashi/dlpro.html?from=mail81" style="text-decoration:none;color:rgb(65,150,255);padding:0px" target="_blank">网易邮箱大师</a><span class="m_-2004873185958670532Apple-converted-space"> </span><span>定制</span></div></div><br></div></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">______________________________<wbr>_________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">Gluster-users mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a href="mailto:Gluster-users@gluster.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">Gluster-users@gluster.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a href="https://lists.gluster.org/mailman/listinfo/gluster-users" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a></div></blockquote></div><br></div>
</blockquote>
</div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>