Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Update onefuzz supervisor service restart behavior #1055

Merged
merged 3 commits into from
Jul 9, 2021

Conversation

chkeita
Copy link
Contributor

@chkeita chkeita commented Jul 9, 2021

  • Increase the delay between service restart from 100ms to 1s

partial fix for #1028

- Increase the dealy between service restart from 100ms to 1s
- Prevent the service from restarting more than 10 time in a 20s interval
@bmc-msft
Copy link
Contributor

bmc-msft commented Jul 9, 2021

I'm on board with increasing the restart delay is good. We can probably increase the delay even more. On Windows, the delay is 30s.

For the bursting, will it stop restarting eventually? If so, I think we probably don't want that. If the reason the app is failing is due to Azure, restarting forever will enable eventual recovery.

src/runtime-tools/linux/onefuzz.service Outdated Show resolved Hide resolved
src/runtime-tools/linux/onefuzz.service Outdated Show resolved Hide resolved
increase restart delay to 30s
@bmc-msft bmc-msft merged commit 2b32779 into microsoft:main Jul 9, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants