<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
</style>
<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(>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><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-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_brick/brick1/gv0</div><div>Brick2: dl21.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick3: dl22.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick4: dl20.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick5: dl21.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick6: dl22.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick7: dl20.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick8: dl21.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick9: dl22.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick10: dl23.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick11: dl24.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick12: dl25.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick13: dl26.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick14: dl27.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick15: dl28.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick16: dl29.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick17: dl30.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick18: dl31.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick19: dl32.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick20: dl33.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick21: dl34.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick22: dl23.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick23: dl24.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick24: dl25.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick25: dl26.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick26: dl27.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick27: dl28.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick28: dl29.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick29: dl30.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick30: dl31.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick31: dl32.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick32: dl33.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick33: dl34.dg.163.org:/glusterfs_brick/brick2/gv0</div><div>Brick34: dl23.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick35: dl24.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick36: dl25.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick37: dl26.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick38: dl27.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick39: dl28.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick40: dl29.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick41: dl30.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick42: dl31.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick43: dl32.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick44: dl33.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick45: dl34.dg.163.org:/glusterfs_brick/brick3/gv0</div><div>Brick46: dl0.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick47: dl1.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick48: dl2.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick49: dl3.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick50: dl5.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick51: dl6.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick52: dl9.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick53: dl10.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick54: dl11.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick55: dl12.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick56: dl13.dg.163.org:/glusterfs_brick/brick1/gv0</div><div>Brick57: dl14.dg.163.org:/glusterfs_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-invalidation: on</div><div>performance.stat-prefetch: on</div><div>features.cache-invalidation-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="ntes-pcmail-signature" style="font-family:'Helvetica','Microsoft Yahei', '微软雅黑'">
<style type="text/css">
a#ntes-pcmail-signature-default:hover {
text-decoration: underline;
color: #3593db;
cursor: pointer;
}
</style>
<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?&name=huting3&uid=huting3%40corp.netease.com&ftlId=1&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22huting3%40corp.netease.com%22%5D&logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2F209a2912f40f6683af56bb7caff1cb54.png" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<table cellpadding="0" style="width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse;color: #9b9ea1;font-size: 14px;line-height:1.3;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
<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;">
<span>签名由</span>
<a style="text-decoration: none;color:#4196ff;padding:0 5px;" href="http://mail.163.com/dashi/">网易邮箱大师</a>
<span>定制</span>
</div>
</div><br>
<!--�-->
</div>
</body>
</html>