It may take tens of seconds to restart each time, so 5 in 30s does not stop
the crash on startup respawn loop in many cases. In particular, we'd like
to catch the case where the internal heartbeats fail.
This should be enough for all but the most sluggish of OSDs and capture
many cases of failure shortly after startup.
Fixes: #11798
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
eaff6cb24ef052c54dfa2131811758e335f19939)
stop on runlevel [!2345] or stopping ceph-mds-all
respawn
-respawn limit 5 30
+respawn limit 3 1800
limit nofile 16384 16384
stop on runlevel [!2345] or stopping ceph-mon-all
respawn
-respawn limit 5 30
+respawn limit 3 1800
limit nofile 16384 16384
stop on runlevel [!2345] or stopping ceph-osd-all
respawn
-respawn limit 5 30
+respawn limit 3 1800
limit nofile 327680 327680