From ebda4ba1c67172852587e47a8e6fb538809a1b1c 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 --- systemd/ceph-osd@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index edb24ad4b1f99..c12b56c9fb972 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.39.5