Skip to content

Commit d64df85

Browse files
committed
hw-mgmt: service: Fix service start-limit issue
Sometimes, when starting the hw-mgmt service, the following error may appear: "Failed with result 'start-limit-hit'" This can occur for the hw-management-sysfs-monitor or hw-management-fast-sysfs-monitor services. The reason is that these services are limited to 5 starts within 20 minutes. If a user restarts hw-mgmt or any of the listed services more than 5 times within that period, this error will occur. The current limit of 5 restarts per 20 minutes is often too low and can be triggered frequently during testing or normal usage. To prevent this issue, restart limit can be increased to 10 times per 20 minutes. Change in .service file: StartLimitBurst 5 -> 10 Bug 4647168 Signed-off-by: Oleksandr Shamray <[email protected]>
1 parent a4f047c commit d64df85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debian/hw-management.hw-management-fast-sysfs-monitor.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Requires=hw-management.service
55
PartOf=hw-management.service
66

77
StartLimitIntervalSec=1200
8-
StartLimitBurst=5
8+
StartLimitBurst=10
99

1010
[Service]
1111
Type=oneshot

debian/hw-management.hw-management-sysfs-monitor.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Requires=hw-management.service
55
PartOf=hw-management.service
66

77
StartLimitIntervalSec=1200
8-
StartLimitBurst=5
8+
StartLimitBurst=10
99

1010
[Service]
1111
Type=oneshot

0 commit comments

Comments
 (0)