[sheepdog] [PATCH v1 2/2] sheep: fix memory leak in sheepdog

Liu Yuan namei.unix at gmail.com
Thu Feb 13 10:31:45 CET 2014


On Thu, Feb 13, 2014 at 05:23:07PM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai at taobao.com>
> 
> First run swift interface on sheepdog, thean kill a node and wait for
> recovery. After it, the RSS of sheep daemon will increase to about 8GB
> which is a sign of memory leak.
> 
> Then we use valgrind to check sheepdog daemon and finally find out the
> leak point: one in local_req_async and another in lib/fec
> 
> After fix it, the RSS of sheep daemon could keep on 90MB for saem test
> case.
> 

Please split it into 2 because there are actually 2 memory leakers.

Thanks
Yuan



More information about the sheepdog mailing list