From 3f54523267a9244e1db732c5cfcc310254e621d2 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Tue, 25 Mar 2025 17:22:29 +0000 Subject: [PATCH] cephadm/cephadmlib/daemons/ceph.py: increase aio-max-nr Previous work increased the aio-max-nr to 1048576 [1]. Crimson-osd might need this value to be larger in order to deploy correctly. In future work, if this turns out to be tricky, we can update cephadm to make use of `90-ceph-osd.conf` file which changes between build types. See possible usage in sysctl.py. For now, increasing the value for any Class OSD should work. [1] https://github.com/ceph/ceph/pull/41264 Signed-off-by: Matan Breizman --- src/cephadm/cephadmlib/daemons/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cephadm/cephadmlib/daemons/ceph.py b/src/cephadm/cephadmlib/daemons/ceph.py index e29bf127e0bc2..40061672d06e5 100644 --- a/src/cephadm/cephadmlib/daemons/ceph.py +++ b/src/cephadm/cephadmlib/daemons/ceph.py @@ -258,7 +258,7 @@ class OSD(Ceph): def get_sysctl_settings() -> List[str]: return [ '# allow a large number of OSDs', - 'fs.aio-max-nr = 1048576', + 'fs.aio-max-nr = 2097152', 'kernel.pid_max = 4194304', ] -- 2.39.5