[Gluster-devel] 3.5.0beta3 memory leak problem

Yuan Ding qq327662250 at gmail.com
Tue Feb 18 09:48:31 UTC 2014


I tested gluster nfs server with 1 nfs client. And run ltp's fs test cases
on that nfs client. There seems to have 2 memory leak problem. (See my nfs
server & 2 glusterfsd config file is in attach)
The 2 problem describes below:

1. The glusterfs runs as nfs server exhaust system memory(1GB) in server
minutes. After disable drc, this problem no longer exist.

2. After disable drc, the test run 1 day with no problem. But I found
glusterfsd used more than 50% system memory(ps command line output sees
below). Stop the test can not release memory.

[root at server155 ~]# ps aux | grep glusterfsd
root      7443  3.7 52.8 1731340 539108 ?      Ssl  Feb17  70:01
/usr/sbin/glusterfsd -s server155 --volfile-id vol1.server155.fsmnt-fs1 -p
/var/lib/glusterd/vols/vol1/run/server155-fsmnt-fs1.pid -S
/var/run/5b7fe23f0aec78ffa0e6968dece0a8b0.socket --brick-name /fsmnt/fs1 -l
/var/log/glusterfs/bricks/fsmnt-fs1.log --xlator-option
*-posix.glusterd-uuid=d4f3d342-dd41-4dc7-b0fc-d3ce9998d21f --brick-port
49152 --xlator-option vol1-server.listen-port=49152

I use kill -SIGUSR1 7443 to collected some dump information(in attached
fsmnt-fs1.7443.dump.1392711830).

Any help is appreciate!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140218/39b73bde/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfs-server.vol
Type: application/octet-stream
Size: 1172 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140218/39b73bde/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vol1.server115.fsmnt-fs1.vol
Type: application/octet-stream
Size: 1694 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140218/39b73bde/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vol1.server155.fsmnt-fs1.vol
Type: application/octet-stream
Size: 1694 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140218/39b73bde/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsmnt-fs1.7443.dump.1392711830
Type: application/octet-stream
Size: 6133 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140218/39b73bde/attachment-0007.obj>


More information about the Gluster-devel mailing list