mrrl-system-config

system configuration on top of MRRL
git clone https://ccx.te2000.cz/git/mrrl-system-config
Log | Files | Refs

commit 7f09523ad72e4ab05d7e5ae9f3e14aa67ca22ace
parent 4d8c526aa3f915d8acb9a3bfbb93d721f1e900a9
Author: ccx <ccx@te2000.cz>
Date:   Tue, 23 Jul 2024 13:54:47 +0000

cgroup limits

Diffstat:
Mconfig/cgconfig.conf | 65+++++++++++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 51 insertions(+), 14 deletions(-)

diff --git a/config/cgconfig.conf b/config/cgconfig.conf @@ -1,3 +1,21 @@ +group s6-rc { + memory { } + pids { } +} + +group s6-rc/svscan-ccx { + memory { + # 20G + memory.high = 21474836480; + + # 24G + memory.max = 25769803776; + } + pids { + pids.max = 16384; + } +} + group containers { memory { } pids { } @@ -24,6 +42,9 @@ group containers/ccx/xsession.5 { # 8G memory.max = 8589934592; } + pids { + pids.max = 1024; + } } group containers/ccx/xpra { @@ -34,28 +55,44 @@ group containers/ccx/xpra { # 8G memory.max = 8589934592; } -} - -group containers/ccx/alpine-browsers { - memory { - # 8G - memory.high = 8589934592; - - # 10G - memory.max = 10737418240; + pids { + pids.max = 1024; } } -group containers/ccx/void-recombee-browsers { +group containers/ccx/rcm-ssh { memory { - # 8G - memory.high = 8589934592; + # 2G + memory.high = 2147483648; - # 10G - memory.max = 10737418240; + # 3G + memory.max = 3221225472; + } + pids { + pids.max = 8192; } } +#group containers/ccx/alpine-browsers { +# memory { +# # 8G +# memory.high = 8589934592; +# +# # 10G +# memory.max = 10737418240; +# } +#} +# +#group containers/ccx/void-recombee-browsers { +# memory { +# # 8G +# memory.high = 8589934592; +# +# # 10G +# memory.max = 10737418240; +# } +#} + # ├── containers # │   ├── ccx # │   │   ├── alpine-browsers