Skip to content

Commit

Permalink
Merge pull request ceph#22349 from gregsfortytwo/wip-24368-osd-restarts
Browse files Browse the repository at this point in the history
systemd: only restart 3 times in 30 minutes, as fast as possible

Reviewed-by:  Sage Weil <sage@redhat.com>
  • Loading branch information
gregsfortytwo committed Oct 19, 2018
2 parents cb48963 + 92f8ec5 commit c61acc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions systemd/ceph-osd@.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ PrivateTmp=true
TasksMax=infinity
Restart=on-failure
StartLimitInterval=30min
StartLimitBurst=30
RestartSec=20s
StartLimitBurst=3

[Install]
WantedBy=ceph-osd.target

0 comments on commit c61acc5

Please sign in to comment.