<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 ></div><div>
<div><p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="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 style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"><br></span></p><p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none">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: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"><br></span></p><p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="-webkit-text-stroke-width: initial;">[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: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"> 49805 size=4250821416</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"> 49806 num_allocs=1</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"> 49807 max_size=4294960048</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"> 49808 max_num_allocs=3</span></p>
<p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"> 49809 total_allocs=12330719</span></p><p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none"><br></span></p><p style="font-stretch: normal; font-size: 11px; line-height: normal; font-family: "Helvetica Neue"; color: rgb(0, 0, 0); -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);"><span style="font-kerning: none">Is it means a memory leak exist in glusterfs client?</span></p></div><div><span style="font-kerning: none"><br></span></div><div>
</div>
<div style="font-family:'Helvetica','Microsoft Yahei', '微软雅黑'">
<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?&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;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">网易邮箱大师</a>
<span>定制</span>
</div>
</div>
<br>
</div><!--�-->
</div>
</body>
</html>