Skip to content

Stop systemd restart loop and exit daemon on ENOMEM#327

Draft
quic-vkatoch wants to merge 1 commit into
qualcomm:developmentfrom
quic-vkatoch:daemon-exit
Draft

Stop systemd restart loop and exit daemon on ENOMEM#327
quic-vkatoch wants to merge 1 commit into
qualcomm:developmentfrom
quic-vkatoch:daemon-exit

Conversation

@quic-vkatoch

Copy link
Copy Markdown
Contributor
  • Remove Restart=on-failure and RestartSec from rpcd unit files.
  • Handle ENOMEM in dsprpcd main loop by logging and exiting instead of retrying.

- Remove Restart=on-failure and RestartSec from rpcd unit files.
- Handle ENOMEM in dsprpcd main loop by logging and exiting instead of retrying.

Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
@lool

lool commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Hey, could we perhaps keep the restarts, but only if the exit status wasn't ENOMEM?

Restart=on-failure
RestartSec=5
RestartPreventExitStatus=ENOMEM

@github-actions

Copy link
Copy Markdown

qualcomm/fastrpc.triage This pull request has been marked as stale due to 30 days of inactivity.

@github-actions github-actions Bot added the Stale label May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants