From: Owen Synge Date: Tue, 21 Apr 2015 09:31:24 +0000 (+0200) Subject: Increase max files open limit for OSD daemon. X-Git-Tag: v9.0.1~105^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebda4ba1c67172852587e47a8e6fb538809a1b1c;p=ceph.git 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 --- diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index edb24ad4b1f..c12b56c9fb9 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