mrrl-system-config

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

cgconfig.conf (1587B)


      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/alpine-browsers {
     77 #	memory {
     78 #		# 8G
     79 #		memory.high = 8589934592;
     80 #
     81 #		# 10G
     82 #		memory.max = 10737418240;
     83 #	}
     84 #}
     85 #
     86 #group containers/ccx/void-recombee-browsers {
     87 #	memory {
     88 #		# 8G
     89 #		memory.high = 8589934592;
     90 #
     91 #		# 10G
     92 #		memory.max = 10737418240;
     93 #	}
     94 #}
     95 
     96 # ├── containers
     97 # │   ├── ccx
     98 # │   │   ├── alpine-browsers
     99 # │   │   ├── alpine-dev
    100 # │   │   ├── alpine-recombee
    101 # │   │   ├── alpine-sndio
    102 # │   │   ├── mail
    103 # │   │   ├── profanity
    104 # │   │   ├── void-recombee-browser
    105 # │   │   ├── void-signal
    106 # │   │   ├── void-telegram
    107 # │   │   ├── weechat
    108 # │   │   └── xsession.5