Re: [ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-05-09 Thread Dexter Xiong
Hi I tested the patch. It seems that everything is OK now. Thanks. On Fri, May 8, 2015 at 4:34 PM Yan, Zheng wrote: > On Fri, May 8, 2015 at 11:15 AM, Dexter Xiong wrote: > > I tried "echo 3 > /proc/sys/vm/drop_caches" and dentry_pinned_count > dropped. >

Re: [ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-05-07 Thread Dexter Xiong
I tried "echo 3 > /proc/sys/vm/drop_caches" and dentry_pinned_count dropped. Thanks for your help. On Thu, Apr 30, 2015 at 11:34 PM Yan, Zheng wrote: > On Thu, Apr 30, 2015 at 4:37 PM, Dexter Xiong wrote: > > Hi, > > I got these message when I remount: &g

Re: [ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-04-30 Thread Dexter Xiong
s_epoch": 25, "osd_epoch": 177, "osd_epoch_barrier": 176 } It seems that all pinned dentrys are directories from dump cache command output. Attachment <https://www.dropbox.com/s/yuq2lfcuk0ihhyr/ceph.debug.log.tar.gz?dl=0> is a package of debug log and dump cac

Re: [ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-04-29 Thread Dexter Xiong
I found that an entry will not be trimed if it is pinned. But how can I unpin dentrys? On Wed, Apr 29, 2015 at 12:19 PM Dexter Xiong wrote: > I tried set client cache size = 100, but it doesn't solve the problem. > I tested ceph-fuse with kernel version 3.13.0-24 3.13.0-49 and 3.16.0-34

Re: [ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-04-28 Thread Dexter Xiong
I tried set client cache size = 100, but it doesn't solve the problem. I tested ceph-fuse with kernel version 3.13.0-24 3.13.0-49 and 3.16.0-34. On Tue, Apr 28, 2015 at 7:39 PM John Spray wrote: > > > On 28/04/2015 06:55, Dexter Xiong wrote: > > Hi, > > I&

[ceph-users] [cephfs][ceph-fuse] cache size or memory leak?

2015-04-27 Thread Dexter Xiong
Hi, I've deployed a small hammer cluster 0.94.1. And I mount it via ceph-fuse on Ubuntu 14.04. After several hours I found that the ceph-fuse process crashed. The end is the crash log from /var/log/ceph/ceph-client.admin.log. The memory cost of ceph-fuse process was huge(more than 4GB) when it