Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
fans: Update service start limits for fan watchdog
Browse files Browse the repository at this point in the history
It was found that the fan control services were constantly getting
restarted due to not failing within the previous start limits. After
experimenting with different combinations of limits, using the default
values for StartLimitBurst and StartLimitIntervalSec is sufficient.

Tested:
    Changed limits, powered on, watched service fails in journal until
fan watchdog monitor started

Resolves: openbmc/phosphor-fan-presence#23

Change-Id: I137807dd8c2e09e3a4019a9ad416b0384824ed65
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
  • Loading branch information
msbarth authored and bradbishop committed Sep 16, 2020
1 parent 73b735f commit b8a6536
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions recipes-phosphor/fans/phosphor-fan/fan-watchdog-monitor.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[Unit]
#These overrides allow the fan watchdog to take over when this service dies
OnFailure=fan-watchdog-monitor@%n.service
StartLimitIntervalSec=5
StartLimitBurst=3

0 comments on commit b8a6536

Please sign in to comment.