I am trying to build small CEPH cluster on single box - testing in the lab, before switching bigger probject to it. Run into memory problems and can not find way to control it.
We have old Core2Duo CPU, 4gb ram. Creating 3 OSDs with 3 local 8tb disks.
ceph-deploy will make it and everything runs nice, expcet that for each of 3 OSDs 1 tmpfs partition is being created, which is 2gb and after copying ~50gb of data to CephFS Bluestore - box starts agressively using RAM and ends up with using all the swap. I failed to find correct setting to control, how much RAM OSD process is allowed to use.
It is ok to use more IO, instead of RAM. Looking for help (if that is possible). :) I am building everything on Centos 7.