Agent exits cleanly after several hours/days and is not restarted by systemd #2088
Unanswered
serveuralg-collab
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment
Problem
The agent runs normally for several hours or days and then stops unexpectedly.
Systemd logs show:
Jun 17 19:43:59 systemd[1]: beszel-agent.service: Succeeded.
The process exits cleanly and systemd does not restart it because the service is configured with:
Restart=on-failure
There is no crash, no OOM event, and no SIGKILL.
Service configuration
[Service]
ExecStart=/opt/beszel-agent/beszel-agent
User=beszel
Restart=on-failure
RestartSec=5
Additional information
CSF/LFD reports:
Account: beszel
Resource: Process Time
Exceeded: 1376693 > 1800 (seconds)
Killed: No
So LFD is not killing the process.
The agent simply exits and systemd reports "Succeeded".
Has anyone seen the agent exit with status 0 after running for a long period?
Thank you.
All reactions