[Gluster-devel] 3.5.0beta3 memory leak problem

Vijay Bellur vbellur at redhat.com
Wed Feb 19 06:20:09 UTC 2014


On 02/18/2014 03:18 PM, Yuan Ding wrote:
> 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!

Thanks for the report, there seem to be a lot of dict_t allocations as 
seen from statedump. Would it be possible to run the tests after 
starting glusterfsd with valgrind and share the report here?

-Vijay




More information about the Gluster-devel mailing list