@@ -259,7 +259,7 @@ convert_hugetlb_size() {
259
259
"memory.min": "131072",
260
260
"memory.low": "524288",
261
261
"memory.high": "5242880",
262
- "memory.max": "10485760 ",
262
+ "memory.max": "20484096 ",
263
263
"memory.swap.max": "20971520",
264
264
"pids.max": "99",
265
265
"cpu.max": "10000 100000",
@@ -276,15 +276,15 @@ convert_hugetlb_size() {
276
276
echo " $output " | grep -q ' ^memory.min:131072$'
277
277
echo " $output " | grep -q ' ^memory.low:524288$'
278
278
echo " $output " | grep -q ' ^memory.high:5242880$'
279
- echo " $output " | grep -q ' ^memory.max:10485760 $'
279
+ echo " $output " | grep -q ' ^memory.max:20484096 $'
280
280
echo " $output " | grep -q ' ^memory.swap.max:20971520$'
281
281
echo " $output " | grep -q ' ^pids.max:99$'
282
282
echo " $output " | grep -q ' ^cpu.max:10000 100000$'
283
283
284
284
check_systemd_value " MemoryMin" 131072
285
285
check_systemd_value " MemoryLow" 524288
286
286
check_systemd_value " MemoryHigh" 5242880
287
- check_systemd_value " MemoryMax" 10485760
287
+ check_systemd_value " MemoryMax" 20484096
288
288
check_systemd_value " MemorySwapMax" 20971520
289
289
check_systemd_value " TasksMax" 99
290
290
check_cpu_quota 10000 100000 " 100ms"
@@ -304,7 +304,7 @@ convert_hugetlb_size() {
304
304
}
305
305
| .linux.resources.unified |= {
306
306
"memory.min": "131072",
307
- "memory.max": "10485760 ",
307
+ "memory.max": "40484864 ",
308
308
"pids.max": "42",
309
309
"cpu.max": "5000 50000",
310
310
"cpu.weight": "42"
@@ -319,7 +319,7 @@ convert_hugetlb_size() {
319
319
320
320
runc exec test_cgroups_unified cat /sys/fs/cgroup/memory.max
321
321
[ " $status " -eq 0 ]
322
- [ " $output " = ' 10485760 ' ]
322
+ [ " $output " = ' 40484864 ' ]
323
323
324
324
runc exec test_cgroups_unified cat /sys/fs/cgroup/pids.max
325
325
[ " $status " -eq 0 ]
0 commit comments