ceph/etc/ceph.limits.d
Sage Weil c7ee798a0f set nofile ulimit in /etc/security/limits.d/ceph only
Specify the nofile ulimit in one standard place, where everyone expects it
to be.  Drop it from the ceph-osd unit file.

Leave upstart and sysvinit untouched for the time being to avoid compat
issues.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:34:15 -04:00

10 lines
243 B
D

# /etc/security/limits.d/ceph
#
#<domain> <type> <item> <value>
#
# We want a very large value for nofile for the ceph user as the ceph
# clients and daemons consume lots and lots of file descriptors.
ceph - nofile 4194304