aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-08-13 14:43:10 +0200
committerLeah Neukirchen <leah@vuxu.org>2019-08-13 14:43:10 +0200
commit4fbb854d95053bab4164c836fa87e2510c4acd5a (patch)
tree7d001e53060bd06c03b3440deac509eea662b040
parentf847cceb4513c98bd73ab9ebe8cb57c6ef8f08a9 (diff)
downloadreap-4fbb854d95053bab4164c836fa87e2510c4acd5a.tar.gz
reap-4fbb854d95053bab4164c836fa87e2510c4acd5a.tar.xz
reap-4fbb854d95053bab4164c836fa87e2510c4acd5a.zip
reap.1: add rationale
-rw-r--r--README8
-rw-r--r--reap.18
2 files changed, 16 insertions, 0 deletions
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 <leah@vuxu.org>
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