diff options
author | Sage Weil <sage@redhat.com> | 2015-08-06 17:37:30 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2015-08-27 02:34:15 +0200 |
commit | c7ee798a0f9ddb79f799fe19dba0873efa4fdcfa (patch) | |
tree | a6bb68c637adab0acf018e7e684ded94f75a8c4d /etc | |
parent | systemd: make ceph-osd setuid/gid to ceph:ceph (diff) | |
download | ceph-c7ee798a0f9ddb79f799fe19dba0873efa4fdcfa.tar.xz ceph-c7ee798a0f9ddb79f799fe19dba0873efa4fdcfa.zip |
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>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ceph.limits.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/ceph.limits.d b/etc/ceph.limits.d new file mode 100644 index 00000000000..702aa0332ec --- /dev/null +++ b/etc/ceph.limits.d @@ -0,0 +1,9 @@ +# /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 |