Skip to content

Commit

Permalink
Increase max files open limit for OSD daemon.
Browse files Browse the repository at this point in the history
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 ebda4ba)
  • Loading branch information
oms4suse authored and smithfarm committed Jun 22, 2015
1 parent 78d894a commit e149916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/ceph-osd@.service
Expand Up @@ -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

0 comments on commit e149916

Please sign in to comment.