<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m not seeing any leaks myself, been on 3.12.13 for about 38 hours now, still small.<div class=""><br class=""></div><div class="">You did restart that node, or at least put it into maintenance (if it’s ovirt) to be sure you restarted the glusterfs processes after updating? That’s a lot of run time unless it’s really busy, so figured I’d check.<br class=""><div><blockquote type="cite" class=""><hr style="border:none;border-top:solid #B5C4DF 1.0pt;padding:0 0 0 0;margin:10px 0 5px 0;" class=""><span style="margin: -1.3px 0.0px 0.0px 0.0px" id="RwhHeaderAttributes" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">From:</b> huting3 &lt;<a href="mailto:huting3@corp.netease.com" class="">huting3@corp.netease.com</a>&gt;</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">Subject:</b> Re: [Gluster-users] gluster 3.12.8 fuse consume huge memory</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">Date:</b> August 30, 2018 at 10:02:31 PM CDT</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">To:</b> Darrell Budic</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">Cc:</b> <a href="mailto:gluster-users@gluster.org" class="">gluster-users@gluster.org</a></font></span><br class="">
<br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Helvetica, Helvetica, 微软雅黑, 宋体; line-height: 1.6;" class=""><div class=""></div><div class=""><div class=""><span class="">Thanks for your reply, I also test gluster 3.12.13 and found the client also consumes huge memory:</span></div><div class=""><br class=""></div><div class=""><div class="">PID USER &nbsp; &nbsp; &nbsp;PR &nbsp;NI &nbsp; &nbsp;VIRT &nbsp; &nbsp;RES &nbsp; &nbsp;SHR S &nbsp;%CPU %MEM &nbsp; &nbsp; TIME+ COMMAND</div><div class="">180095 root &nbsp; &nbsp; &nbsp;20 &nbsp; 0 4752256 4.091g &nbsp; 4084 S &nbsp;43.5 &nbsp;1.6 &nbsp;17:54.70 glusterfs</div></div><div class=""><br class=""></div><div class="">I read and write some files on the gluster fuse client, the client consume 4g memory and it keeps arising.</div><div class=""><br class=""></div><div class="">Does it really fixed in 3.12.13?</div><div class=""><br class=""></div><div class=""></div><div style="font-family: Helvetica, &quot;Microsoft Yahei&quot;, 微软雅黑;" class=""><div style="font-size: 14px; padding: 0px; margin: 0px; line-height: 14px;" class=""><div style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(230, 230, 230); display: inline-block;" class=""><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;" class=""><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;" class=""><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;" class=""><tr class=""><td width="38" style="padding: 0px; box-sizing: border-box; width: 38px;" class=""><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%;" class=""></td><td style="padding: 0px 30px 0px 10px; color: rgb(49, 53, 59);" class=""><div style="font-size: 16px; font-weight: bold; width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="">huting3</div></td><td width="72" style="text-align: right; width: 72px;" class=""><img width="72" height="20" src="https://mail-online.nosdn.127.net/qiyelogo/209a2912f40f6683af56bb7caff1cb54.png" style="width: 72px; height: 20px;" class=""></td></tr><tr width="100%" style="width: 400px; font-size: 14px !important;" class=""><td colspan="3" style="padding: 10px 0px 0px; width: 400px; font-size: 14px !important;" class=""><div style="width: 400px; word-wrap: break-word; word-break: break-all; font-size: 14px !important;" class="">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;" class=""><span class="">签名由</span><span class="Apple-converted-space">&nbsp;</span><a href="https://mail.163.com/dashi/dlpro.html?from=mail81" style="text-decoration: none; color: rgb(65, 150, 255); padding: 0px;" class="">网易邮箱大师</a><span class="Apple-converted-space">&nbsp;</span><span class="">定制</span></div></div><br class=""></div><div class="J-reply" style="background-color: rgb(242, 242, 242); padding-top: 6px; padding-bottom: 6px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-top: 45px; margin-bottom: 20px;"><div style="font-size: 12px; line-height: 1.6; word-break: break-all; margin-left: 10px; margin-right: 10px;" class="">On<span class="Apple-converted-space">&nbsp;</span><span class="mail-date">08/30/2018 22:37</span>,<a class="mail-to" href="mailto:budic@onholyground.com" style="text-decoration: none; color: rgb(42, 131, 242);">Darrell Budic&lt;budic@onholyground.com&gt;</a><span class="Apple-converted-space">&nbsp;</span>wrote:<span class="Apple-converted-space">&nbsp;</span></div></div><blockquote id="ntes-pcmail-quote" style="margin: 0px; padding: 0px; font-size: 14px;" class="">It’s probably&nbsp;<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1593826" class="">https://bugzilla.redhat.com/show_bug.cgi?id=1593826</a>, although I did not encounter it in 3.12.8, only 3.12.9 - 12.<div class=""><br class=""></div><div class="">It’s fixed in 3.12.13.</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><hr class="" style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 0px; margin: 10px 0px 5px;"><span id="RwhHeaderAttributes" class="" style="margin: -1.3px 0px 0px;"><font face="Helvetica" size="4" class="" style="line-height: normal; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 13px; font-family: Helvetica;"><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span>huting3 &lt;<a href="mailto:huting3@corp.netease.com" class="">huting3@corp.netease.com</a>&gt;</font></span><br class=""><span class="" style="margin: -1.3px 0px 0px;"><font face="Helvetica" size="4" class="" style="line-height: normal; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 13px; font-family: Helvetica;"><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>[Gluster-users] gluster 3.12.8 fuse consume huge memory</font></span><br class=""><span class="" style="margin: -1.3px 0px 0px;"><font face="Helvetica" size="4" class="" style="line-height: normal; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 13px; font-family: Helvetica;"><b class="">Date:</b><span class="Apple-converted-space">&nbsp;</span>August 30, 2018 at 2:02:01 AM CDT</font></span><br class=""><span class="" style="margin: -1.3px 0px 0px;"><font face="Helvetica" size="4" class="" style="line-height: normal; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 13px; font-family: Helvetica;"><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:gluster-users@gluster.org" class="">gluster-users@gluster.org</a></font></span><br class=""><br class="Apple-interchange-newline"><div class=""><div class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Helvetica, Helvetica, 微软雅黑, 宋体; line-height: 1.6;"><div class=""></div><div class=""><div class=""><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">The version of glusterfs I installed is 3.12.8, and I find it`s client also consume huge memory.</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;"><br class=""></span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">I dumped the statedump file, and I found the size of a variable is extreamly huge like below:</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;"><br class=""></span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-text-stroke-width: initial;">[mount/fuse.fuse - usage-type gf_fuse_mt_iov_base memusage]</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">&nbsp; 49805 size=4250821416</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">&nbsp; 49806 num_allocs=1</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">&nbsp; 49807 max_size=4294960048</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">&nbsp; 49808 max_num_allocs=3</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">&nbsp; 49809 total_allocs=12330719</span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;"><br class=""></span></p><p class="" style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span class="" style="-webkit-font-kerning: none;">Is it means a memory leak exist in glusterfs client?</span></p></div><div class=""><span class="" style="-webkit-font-kerning: none;"><br class=""></span></div><div class=""></div><div class="" style="font-family: Helvetica, &quot;Microsoft Yahei&quot;, 微软雅黑;"><div class="" style="font-size: 14px; padding: 0px; margin: 0px; line-height: 14px;"><div class="" 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" class="" style="display: block; background-color: rgb(255, 255, 255); max-width: 400px; padding: 15px 0px 10px; text-decoration: none; outline: none;"><table cellpadding="0" class="" 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 class="" 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 class=""><td width="38" style="padding: 0px; box-sizing: border-box; width: 38px;" class=""><img width="38" height="38" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" class="" 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);" class=""><div class="" 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;" class=""><img width="72" height="20" src="https://mail-online.nosdn.127.net/qiyelogo/209a2912f40f6683af56bb7caff1cb54.png" class="" style="width: 72px; height: 20px;"></td></tr><tr width="100%" class="" style="width: 400px; font-size: 14px !important;"><td colspan="3" style="padding: 10px 0px 0px; width: 400px; font-size: 14px !important;" class=""><div class="" 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 class="" style="font-size: 12px; color: rgb(181, 185, 189); margin-top: 8px; line-height: 18px;"><span class="">签名由</span><span class="Apple-converted-space">&nbsp;</span><a href="https://mail.163.com/dashi/dlpro.html?from=mail81" class="" style="text-decoration: none; color: rgb(65, 150, 255); padding: 0px;">网易邮箱大师</a><span class="Apple-converted-space">&nbsp;</span><span class="">定制</span></div></div><br class=""></div></div><span class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><span class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Gluster-users mailing list</span><br class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="mailto:Gluster-users@gluster.org" class="" 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; -webkit-text-stroke-width: 0px;">Gluster-users@gluster.org</a><br class="" style="caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="https://lists.gluster.org/mailman/listinfo/gluster-users" class="" 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; -webkit-text-stroke-width: 0px;">https://lists.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></div><br class=""></div></blockquote></div><br class="Apple-interchange-newline"></div></blockquote></div><br class=""></div></body></html>