From 4fbb854d95053bab4164c836fa87e2510c4acd5a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 13 Aug 2019 14:43:10 +0200 Subject: reap.1: add rationale --- README | 8 ++++++++ reap.1 | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README b/README index 3ef974d..d5c6af4 100644 --- a/README +++ b/README @@ -36,6 +36,14 @@ ASSUMPTIONS reap can only work reliably when it has permission to kill all spawned processes and they respect SIGTERM. +RATIONALE + Keeping track of all spawned process is traditionally a hard problem on + Unix systems, mainly due to daemonization by forking twice. + + Other approaches on Linux exist, such as cgroups or PID namespaces. The + approach taken by reap has the benefit of requiring no special + permissions. + AUTHORS Leah Neukirchen diff --git a/reap.1 b/reap.1 index f5c8701..86cd2c9 100644 --- a/reap.1 +++ b/reap.1 @@ -58,6 +58,14 @@ is enabled. can only work reliably when it has permission to kill all spawned processes and they respect .Dv SIGTERM . +.Sh RATIONALE +Keeping track of all spawned process is traditionally a hard problem +on Unix systems, mainly due to daemonization by forking twice. +.Pp +Other approaches on Linux exist, such as cgroups or PID namespaces. +The approach taken by +.Nm +has the benefit of requiring no special permissions. .Sh AUTHORS .An Leah Neukirchen Aq Mt leah@vuxu.org .Sh LICENSE -- cgit 1.4.1