mrrl-system-config

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

cgconfig.conf (2202B)


      1 group s6-rc {
      2 	memory { }
      3 	pids { }
      4 }
      5 
      6 group s6-rc/svscan-ccx {
      7 	memory {
      8 		# 20G
      9 		memory.high = 21474836480;
     10 
     11 		# 24G
     12 		memory.max = 25769803776;
     13 	}
     14 	pids {
     15 		pids.max = 16384;
     16 	}
     17 }
     18 
     19 group containers {
     20 	memory { }
     21 	pids { }
     22 }
     23 
     24 group containers/ccx {
     25 	memory {
     26 		# 20G
     27 		memory.high = 21474836480;
     28 
     29 		# 24G
     30 		memory.max = 25769803776;
     31 	}
     32 	pids {
     33 		pids.max = 16384;
     34 	}
     35 }
     36 
     37 group containers/ccx/xsession.5 {
     38 	memory {
     39 		# 6G
     40 		memory.high = 6442450944;
     41 
     42 		# 8G
     43 		memory.max = 8589934592;
     44 	}
     45 	pids {
     46 		pids.max = 1024;
     47 	}
     48 }
     49 
     50 group containers/ccx/xpra {
     51 	memory {
     52 		# 6G
     53 		memory.high = 6442450944;
     54 
     55 		# 8G
     56 		memory.max = 8589934592;
     57 	}
     58 	pids {
     59 		pids.max = 1024;
     60 	}
     61 }
     62 
     63 group containers/ccx/rcm-ssh {
     64 	memory {
     65 		# 2G
     66 		memory.high = 2147483648;
     67 
     68 		# 3G
     69 		memory.max = 3221225472;
     70 	}
     71 	pids {
     72 		pids.max = 8192;
     73 	}
     74 }
     75 
     76 group containers/ccx/gentoo-browsers {
     77 	memory {
     78 		# 15G
     79 		memory.high = 16106127360;
     80 		# 16G
     81 		memory.max = 17179869184;
     82 	}
     83 	pids {
     84 		pids.max = 2048;
     85 	}
     86 }
     87 
     88 group containers/ccx/ff-rcm-slack {
     89 	memory {
     90 		# 6G
     91 		memory.high = 6442450944;
     92 		# 8G
     93 		memory.max = 8589934592;
     94 	}
     95 	pids {
     96 		pids.max = 2048;
     97 	}
     98 }
     99 
    100 group containers/ccx/ff-rcm-google {
    101 	memory {
    102 		# 6G
    103 		memory.high = 6442450944;
    104 		# 8G
    105 		memory.max = 8589934592;
    106 	}
    107 	pids {
    108 		pids.max = 2048;
    109 	}
    110 }
    111 
    112 group containers/ccx/ff-rcm-internal {
    113 	memory {
    114 		# 6G
    115 		memory.high = 6442450944;
    116 		# 8G
    117 		memory.max = 8589934592;
    118 	}
    119 	pids {
    120 		pids.max = 2048;
    121 	}
    122 }
    123 
    124 #group containers/ccx/alpine-browsers {
    125 #	memory {
    126 #		# 8G
    127 #		memory.high = 8589934592;
    128 #
    129 #		# 10G
    130 #		memory.max = 10737418240;
    131 #	}
    132 #}
    133 #
    134 #group containers/ccx/void-recombee-browsers {
    135 #	memory {
    136 #		# 8G
    137 #		memory.high = 8589934592;
    138 #
    139 #		# 10G
    140 #		memory.max = 10737418240;
    141 #	}
    142 #}
    143 
    144 # ├── containers
    145 # │   ├── ccx
    146 # │   │   ├── alpine-browsers
    147 # │   │   ├── alpine-dev
    148 # │   │   ├── alpine-recombee
    149 # │   │   ├── alpine-sndio
    150 # │   │   ├── mail
    151 # │   │   ├── profanity
    152 # │   │   ├── void-recombee-browser
    153 # │   │   ├── void-signal
    154 # │   │   ├── void-telegram
    155 # │   │   ├── weechat
    156 # │   │   └── xsession.5