Skip to content

Commit 3f54523

Browse files
committed
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] ceph#41264 Signed-off-by: Matan Breizman <[email protected]>
1 parent 7a036c6 commit 3f54523

File tree

1 file changed

+1
-1
lines changed
  • src/cephadm/cephadmlib/daemons

1 file changed

+1
-1
lines changed

src/cephadm/cephadmlib/daemons/ceph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def create(cls, ctx: CephadmContext, ident: DaemonIdentity) -> 'OSD':
258258
def get_sysctl_settings() -> List[str]:
259259
return [
260260
'# allow a large number of OSDs',
261-
'fs.aio-max-nr = 1048576',
261+
'fs.aio-max-nr = 2097152',
262262
'kernel.pid_max = 4194304',
263263
]
264264

0 commit comments

Comments
 (0)