@@ -207,7 +207,7 @@ function setup() {
207207 "memory.min": "131072",
208208 "memory.low": "524288",
209209 "memory.high": "5242880",
210- "memory.max": "10485760 ",
210+ "memory.max": "20484096 ",
211211 "memory.swap.max": "20971520",
212212 "pids.max": "99",
213213 "cpu.max": "10000 100000",
@@ -224,15 +224,15 @@ function setup() {
224224 echo " $output " | grep -q ' ^memory.min:131072$'
225225 echo " $output " | grep -q ' ^memory.low:524288$'
226226 echo " $output " | grep -q ' ^memory.high:5242880$'
227- echo " $output " | grep -q ' ^memory.max:10485760 $'
227+ echo " $output " | grep -q ' ^memory.max:20484096 $'
228228 echo " $output " | grep -q ' ^memory.swap.max:20971520$'
229229 echo " $output " | grep -q ' ^pids.max:99$'
230230 echo " $output " | grep -q ' ^cpu.max:10000 100000$'
231231
232232 check_systemd_value " MemoryMin" 131072
233233 check_systemd_value " MemoryLow" 524288
234234 check_systemd_value " MemoryHigh" 5242880
235- check_systemd_value " MemoryMax" 10485760
235+ check_systemd_value " MemoryMax" 20484096
236236 check_systemd_value " MemorySwapMax" 20971520
237237 check_systemd_value " TasksMax" 99
238238 check_cpu_quota 10000 100000 " 100ms"
@@ -252,7 +252,7 @@ function setup() {
252252 }
253253 | .linux.resources.unified |= {
254254 "memory.min": "131072",
255- "memory.max": "10485760 ",
255+ "memory.max": "40484864 ",
256256 "pids.max": "42",
257257 "cpu.max": "5000 50000",
258258 "cpu.weight": "42"
@@ -267,7 +267,7 @@ function setup() {
267267
268268 runc exec test_cgroups_unified cat /sys/fs/cgroup/memory.max
269269 [ " $status " -eq 0 ]
270- [ " $output " = ' 10485760 ' ]
270+ [ " $output " = ' 40484864 ' ]
271271
272272 runc exec test_cgroups_unified cat /sys/fs/cgroup/pids.max
273273 [ " $status " -eq 0 ]
0 commit comments