Actions
Bug #53472
openActive OSD processes do not see reduced memory target when adding more OSDs
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-ansible
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When you install more OSDs onto a node, the "osd memory target" value in ceph.conf is reduced so the total memory usage remains at 70% (using default value for safety factor). But OSD processes that are already running do not re-read ceph.conf and continue to use the old target value. This can lead to out-of-memory errors.
Example: A node has 7 OSDs so each gets a target of 10% of total memory, leaving 30% free for safety factor.
Now I add 7 more OSDs and the target is reduced to 5%. But the original 7 OSDs continue to use 10% memory each + 7 new ones using 5% = 105% memory in use!
Is it possible to notify the running OSD processes to re-read ceph.conf when it changes?
Actions