<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 9, 2018 at 8:55 AM, 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><span>Hi expert:</span></div><div><span><br></span></div><div><span>I meet a problem when I use glusterfs. The problem is that the fuse client consumes huge memory when write a   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.</span></div></div></div></blockquote><div><br></div><div>Can you get statedump of fuse process consuming huge memory?</div><div> <br></div><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><span><br></span></div><div>My gluster version is 3.13.2, the gluster volume info is listed as following:</div><div><br></div><div><div>Volume Name: gv0</div><div>Type: Distributed-Replicate</div><div>Volume ID: 4a6f96f8-b3fb-4550-bd19-<wbr>e1a5dffad4d0</div><div>Status: Started</div><div>Snapshot Count: 0</div><div>Number of Bricks: 19 x 3 = 57</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: dl20.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick2: dl21.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick3: dl22.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick4: dl20.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick5: dl21.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick6: dl22.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick7: dl20.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick8: dl21.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick9: dl22.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick10: dl23.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick11: dl24.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick12: dl25.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick13: dl26.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick14: dl27.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick15: dl28.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick16: dl29.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick17: dl30.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick18: dl31.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick19: dl32.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick20: dl33.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick21: dl34.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick22: dl23.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick23: dl24.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick24: dl25.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick25: dl26.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick26: dl27.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick27: dl28.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick28: dl29.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick29: dl30.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick30: dl31.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick31: dl32.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick32: dl33.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick33: dl34.dg.163.org:/glusterfs_<wbr>brick/brick2/gv0</div><div>Brick34: dl23.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick35: dl24.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick36: dl25.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick37: dl26.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick38: dl27.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick39: dl28.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick40: dl29.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick41: dl30.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick42: dl31.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick43: dl32.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick44: dl33.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick45: dl34.dg.163.org:/glusterfs_<wbr>brick/brick3/gv0</div><div>Brick46: dl0.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick47: dl1.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick48: dl2.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick49: dl3.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick50: dl5.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick51: dl6.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick52: dl9.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick53: dl10.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick54: dl11.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick55: dl12.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick56: dl13.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Brick57: dl14.dg.163.org:/glusterfs_<wbr>brick/brick1/gv0</div><div>Options Reconfigured:</div><div>performance.cache-size: 10GB</div><div>performance.parallel-readdir: on</div><div>performance.readdir-ahead: on</div><div>network.inode-lru-limit: 200000</div><div>performance.md-cache-timeout: 600</div><div>performance.cache-<wbr>invalidation: on</div><div>performance.stat-prefetch: on</div><div>features.cache-invalidation-<wbr>timeout: 600</div><div>features.cache-invalidation: on</div><div>features.inode-quota: off</div><div>features.quota: off</div><div>cluster.quorum-reads: on</div><div>cluster.quorum-count: 2</div><div>cluster.quorum-type: fixed</div><div>transport.address-family: inet</div><div>nfs.disable: on</div><div>performance.client-io-threads: off</div><div>cluster.server-quorum-ratio: 51%</div><div><br></div></div><div><br></div>
<div id="m_-6772762122606358812ntes-pcmail-signature" 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">
        <div style="border-bottom:1px solid #ccc;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 style="width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;color:#9b9ea1;font-size:14px;line-height:1.3" cellpadding="0">
                <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 style="padding:0;box-sizing:border-box;width:38px" width="38">
                                <img style="vertical-align:middle;width:38px;height:38px;border-radius:50%" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" width="38" height="38">
                            </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 style="text-align:right;width:72px" width="72">
                                <img style="width:72px;height:20px" src="https://mail-online.nosdn.127.net/qiyelogo/209a2912f40f6683af56bb7caff1cb54.png" width="72" height="20">
                            </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">
        <span>签名由</span>
        <a style="text-decoration:none;color:#4196ff;padding:0 5px" href="http://mail.163.com/dashi/" target="_blank">网易邮箱大师</a>
        <span>定制</span>
    </div>
  

</div><br>

</div>
</div>
<br>______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br></blockquote></div><br></div></div>