]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Increase max files open limit for OSD daemon. 5026/head
authorOwen Synge <osynge@suse.com>
Tue, 21 Apr 2015 09:31:24 +0000 (11:31 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 19 Jun 2015 10:32:31 +0000 (12:32 +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 edb24ad4b1f99f84f1477f458f251787c1e907df..c12b56c9fb97207084342a098540938b19ee8c1a 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/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
+LimitNOFILE=131072
 
 [Install]
 WantedBy=ceph.target