Hi Jim,

On 02/08/2017 07:45 PM, Jim Kilborn wrote:
I have had two ceph monitor nodes generate swap space alerts this week.
Looking at the memory, I see ceph-mon using a lot of memory and most of the 
swap space. My ceph nodes have 128GB mem, with 2GB swap  (I know the 
memory/swap ratio is odd)

When I get the alert, I see the following
[snip]
root@empire-ceph02 ~]# ps -aux | egrep 'ceph-mon|MEM'

USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

ceph     174239  0.3 45.8 62812848 60405112 ?   Ssl   2016 269:08 
/usr/bin/ceph-mon -f --cluster ceph --id empire-ceph02 --setuser ceph 
--setgroup ceph

[snip]


Is this a setting issue? Or Maybe a bug?
When I look at the other ceph-mon processes on other nodes, they aren’t using 
any swap, and only about 500MB of memory.

Can you get us the result of `ceph -s`, of `ceph daemon mon.ID ops`, and the size of your monitor's data directory? The latter, ideally, recursive with the sizes of all the children in the tree (which, assuming they're a lot, would likely be better on a pastebin).

  -Joao
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to