<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="">Probably this&nbsp;<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1593826" class="">https://bugzilla.redhat.com/show_bug.cgi?id=1593826</a>&nbsp;, known issue in 3.12.9 and later versions.<div class=""><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> [Gluster-users] gluster fuse comsumes 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 12, 2018 at 9:51: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> <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 class=""><span style="font-family: Helvetica, Helvetica, 微软雅黑, 宋体;" class="">Hi expert:</span></div><div class=""><span style="font-family: Helvetica, Helvetica, 微软雅黑, 宋体;" class=""><br class=""></span></div><div class=""><span style="font-family: Helvetica, Helvetica, 微软雅黑, 宋体;" class="">I meet a problem when I use glusterfs. The problem is that the fuse client consumes huge memory when write a &nbsp; lot of files(&gt;million) to the gluster, at last leading to killed by OS oom. The memory the fuse process consumes can up to 100G! I wonder if there are memory leaks in the gluster fuse process, or some other causes. Thanks!</span></div></div><div class="J-cc" id="ntes-pcmail-forward-content" style="margin-top: 45px; margin-bottom: 10px; font-size: 14px;"><div style="font-family: Helvetica, Helvetica, 微软雅黑, 宋体; line-height: 1.6;" class=""><div class=""><span class=""><br class=""></span></div><div class=""><span class="">This is the statedump file`s link:</span></div><div class=""><span class=""><br class=""></span></div><div class=""><a href="https://drive.google.com/file/d/1ZlttTzt4E56Qtk9j7b4I9GkZC2W3mJgp/view?usp=sharing" class="">https://drive.google.com/file/d/1ZlttTzt4E56Qtk9j7b4I9GkZC2W3mJgp/view?usp=sharing</a></div><div class=""><br class=""></div><div class="">My gluster version is 3.13.2, the gluster volume info is listed as following:</div><div class=""><br class=""></div><div class=""><div class="">Volume Name: gv0</div><div class="">Type: Distributed-Replicate</div><div class="">Volume ID: 4a6f96f8-b3fb-4550-bd19-e1a5dffad4d0</div><div class="">Status: Started</div><div class="">Snapshot Count: 0</div><div class="">Number of Bricks: 19 x 3 = 57</div><div class="">Transport-type: tcp</div><div class="">Options Reconfigured:</div><div class="">performance.cache-size: 10GB</div><div class="">performance.parallel-readdir: on</div><div class="">performance.readdir-ahead: on</div><div class="">network.inode-lru-limit: 200000</div><div class="">performance.md-cache-timeout: 600</div><div class="">performance.cache-invalidation: on</div><div class="">performance.stat-prefetch: on</div><div class="">features.cache-invalidation-timeout: 600</div><div class="">features.cache-invalidation: on</div><div class="">features.inode-quota: off</div><div class="">features.quota: off</div><div class="">cluster.quorum-reads: on</div><div class="">cluster.quorum-count: 2</div><div class="">cluster.quorum-type: fixed</div><div class="">transport.address-family: inet</div><div class="">nfs.disable: on</div><div class="">performance.client-io-threads: off</div><div class="">cluster.server-quorum-ratio: 51%</div><div class=""><br class=""></div></div><div class=""><br class=""></div><div id="ntes-pcmail-signature" style="font-family: Helvetica, &quot;Microsoft Yahei&quot;, 微软雅黑;" class=""><div style="font-size: 14px; padding: 0px; margin: 0px;" class=""><div style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); 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);" class=""><span class="">签名由</span><span class="Apple-converted-space">&nbsp;</span><a href="http://mail.163.com/dashi/" style="text-decoration: none; color: rgb(65, 150, 255); padding: 0px 5px;" class="">网易邮箱大师</a><span class="Apple-converted-space">&nbsp;</span><span class="">定制</span></div></div><br class=""></div></div></div><span 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;" class="">_______________________________________________</span><br 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;" class=""><span 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;" class="">Gluster-users mailing list</span><br 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;" class=""><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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Gluster-users@gluster.org</a><br 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;" class=""><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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></div><br class=""></div></body></html>