OSD Memory consumption and proper configuration.
Issue
- The combined RSS memory of all OSD daemons is reaching more than 90% of the available RAM of the Server.
- The Out Of Memory (OOM) killer is killing OSD daemons.
- Ceph uses the
osd_memory_target
variable to configure the max. caching memory usage of each OSD. Under normal circumstances the memory usage should hover around 20% of this memory target. By default it is set to 4GB.
Environment
- Red Hat Ceph Storage (RHCS) 4
- Red Hat Ceph Storage (RHCS) 5
- Red Hat Ceph Storage (RHCS) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.