Remove unnecessary KillMode=process #359
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#359
Loading…
Reference in a new issue
No description provided.
Delete branch ":remove-unnecessary-killmode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's unclear why this is the default as this is highly not recommended.
KillMode=process ends up leaving leftover orphaned processes that
escape resource management and process lifecycles, wasting resources
on servers.
The git blame for this seems to be a 5 year old Pleroma relic with
no documentation or reasoning for this that I could find online.
I have been using this with zero problems on my own servers.
systemd's default is control-group.
See https://www.freedesktop.org/software/systemd/man/systemd.kill.html
Signed-off-by: r3g_5z june@girlboss.ceo
!!! is THIS why my systemd keeps complaining about processes being left over????
i always wondered why that happened
thanks a lot!
Yep, this is exactly why systemd is telling you there are leftover processes.