From d4f6c3f613e74911943e44164a4d5f1526b6f340 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 26 Feb 2023 19:18:04 +0000 Subject: Add warning to the doc; also set soft limits Signed-off-by: Laurent Bercot --- doc/s6-linux-init-maker.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/s6-linux-init-maker.html') diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html index 33bb550..802d8f9 100644 --- a/doc/s6-linux-init-maker.html +++ b/doc/s6-linux-init-maker.html @@ -334,7 +334,10 @@ means open fds limit. Note that unlike s6-softlimit, which only sets soft limits, i.e. process hierarchy-wide limits, the values given here declare hard limits that will be enforced for the whole system to be booted: it will be impossible to raise soft limits -above these values.
+above these values. Warning: misuse of this option is +likely to make your system unbootable; make sure you don't prevent +process 1 and the whole process hierarchy from allocating enough +resources.
  • -C : create a set of scripts that is suitable for running in a container. This modifies some behaviours: -- cgit v1.2.3