On 02/25/2013 07:59 PM, Travis Rhoden wrote:
Hi folks,
A question about memory usage by the Mon. I have a cluster that is
being used exclusively for RBD (no CephFS/mds). I have 5 mons, and
one is slowly but surely using a heck of a lot more memory than the
others:
# for x in ceph{1..5}; do ssh $x 'ps aux | grep ceph-mon | grep -v grep'; done
root 31034 5.2 0.1 312116 75516 ? Ssl Feb14 881:51
/usr/bin/ceph-mon -i a --pid-file /var/run/ceph/mon.a.pid -c
/etc/ceph/ceph.conf
root 29361 4.8 53.9 22526128 22238080 ? Ssl Feb14 822:36
/usr/bin/ceph-mon -i b --pid-file /var/run/ceph/mon.b.pid -c
/tmp/ceph.conf.31144
root 28421 7.0 0.1 273608 88608 ? Ssl Feb20 516:48
/usr/bin/ceph-mon -i c --pid-file /var/run/ceph/mon.c.pid -c
/tmp/ceph.conf.10625
root 25876 4.8 0.1 240752 84048 ? Ssl Feb14 816:54
/usr/bin/ceph-mon -i d --pid-file /var/run/ceph/mon.d.pid -c
/tmp/ceph.conf.31537
root 24505 4.8 0.1 228720 79284 ? Ssl Feb14 818:14
/usr/bin/ceph-mon -i e --pid-file /var/run/ceph/mon.e.pid -c
/tmp/ceph.conf.31734
As you can see, one is up over 20GB, while the others are < 100MB.
Is this normal? The box has plenty of RAM -- I'm wondering if this is
a memory leak, or if it's just slowly finding more things it can cache
and such.
Hi Travis,
Which version are you running?
This has been something that pops in the list every now and then, and
I've spent a considerable amount of time trying to track it down.
My current suspicion lies on the in-memory pgmap growing, and growing,
and growing... and it usually hits the leader the worst. Can you please
confirm that mon.b is indeed the leader?
Also, a 'ceph -s' would be appreciated.
-Joao
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com