mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
ea977611c4
We were observed to be hitting the limit on centos7 (triggering pthread_create failures) on a ~2000 OSD cluster. Increasing this resolves it! Reported-by: Dan van der Ster <daniel.vanderster@cern.ch> Signed-off-by: Sage Weil <sage@redhat.com>
23 lines
651 B
Desktop File
23 lines
651 B
Desktop File
[Unit]
|
|
Description=Ceph cluster monitor daemon
|
|
|
|
# According to:
|
|
# http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
|
|
# these can be removed once ceph-mon will dynamically change network
|
|
# configuration.
|
|
After=network-online.target local-fs.target ceph-create-keys@%i.service
|
|
Wants=network-online.target local-fs.target ceph-create-keys@%i.service
|
|
|
|
PartOf=ceph.target
|
|
|
|
[Service]
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
Environment=CLUSTER=ceph
|
|
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=ceph.target
|