]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Increase max files open limit for OSD daemon.
authorOwen Synge <osynge@suse.com>
Tue, 21 Apr 2015 09:31:24 +0000 (11:31 +0200)
committerOwen Synge <osynge@suse.com>
Thu, 23 Apr 2015 10:20:14 +0000 (12:20 +0200)
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 <osynge@suse.com>
 (cherry picked from commit ebda4ba1c67172852587e47a8e6fb538809a1b1c)

systemd/ceph-osd@.service

index 6e27b91dd24da76d93317af30592bf18c2ad363f..09f51c5938bf5b5163df7193e780a7eff7358639 100644 (file)
@@ -9,6 +9,7 @@ EnvironmentFile=-/etc/sysconfig/ceph
 Environment=CLUSTER=ceph
 ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
 ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
+LimitNOFILE=131072
 
 [Install]
 WantedBy=ceph.target