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>
  • Loading branch information
oms4suse committed Apr 21, 2015
1 parent 9c7ea3b commit ebda4ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/ceph-osd@.service
Original file line number Diff line number Diff line change
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 ebda4ba

Please sign in to comment.