Remove unnecessary KillMode=process #359

Merged
floatingghost merged 1 commits from :remove-unnecessary-killmode into develop 2022-12-10 00:24:28 +00:00
First-time contributor

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

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>
Ghost added 1 commit 2022-12-10 00:16:46 +00:00
ci/woodpecker/pr/woodpecker Pipeline is pending Details
90fce918b2
Remove unnecessary KillMode=process
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.

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!

!!! is _THIS_ why my systemd keeps complaining about processes being left over???? i always wondered why that happened thanks a lot!
floatingghost merged commit 59fde45b36 into develop 2022-12-10 00:24:28 +00:00
floatingghost deleted branch remove-unnecessary-killmode 2022-12-10 00:24:28 +00:00
Author
First-time contributor

Yep, this is exactly why systemd is telling you there are leftover processes.

Yep, this is exactly why systemd is telling you there are leftover processes.
Sign in to join this conversation.
No description provided.