Skip to content

[self hosted linux] OOM does not trigger service restart #3929

Open
@Dufran

Description

@Dufran

Hi all, I'm using self hosted runner, and followed instructions to run it as service.(https://docs.github.com/en/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service)
After some time i encountered workflow that resulted in OOM kill of the process.
Is there any reason resulting service generated by script does not have some restart policies like

[Service]
...
Restart=on-failure
RestartSec=5
OOMPolicy=continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions