mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
systemd: set nofile limit in unit files
Make it big so hopefully nobody has to change it. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
8678a8acec
commit
8453a89cb2
@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
|
||||
PartOf=ceph.target
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=1048576
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
||||
|
@ -11,6 +11,7 @@ Wants=network-online.target local-fs.target ceph-create-keys@%i.service
|
||||
PartOf=ceph.target
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=1048576
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
||||
|
@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
|
||||
PartOf=ceph.target
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=1048576
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
||||
|
@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
|
||||
PartOf=ceph.target
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=1048576
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
ExecStart=/usr/bin/radosgw -f --cluster ${CLUSTER} --name client.%i --setuser ceph --setgroup ceph
|
||||
|
Loading…
Reference in New Issue
Block a user