From 37d77d3680d2c8adda35eddf9625a331a45ece11 Mon Sep 17 00:00:00 2001 From: Owen Synge Date: Tue, 21 Apr 2015 11:31:24 +0200 Subject: [PATCH] Increase max files open limit for OSD daemon. Under heavy load the number of file descriptors opened by the OSD can go beyond the 64K file limit. This patch increases the default to 128K. Signed-off-by: Owen Synge (cherry picked from commit ebda4ba1c67172852587e47a8e6fb538809a1b1c) --- systemd/ceph-osd@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index edb24ad4b1f9..c12b56c9fb97 100644 --- a/systemd/ceph-osd@.service +++ b/systemd/ceph-osd@.service @@ -9,6 +9,7 @@ EnvironmentFile=-/etc/sysconfig/ceph Environment=CLUSTER=ceph ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i +LimitNOFILE=131072 [Install] WantedBy=ceph.target -- 2.47.3