@@ -303,7 +303,7 @@ convert_hugetlb_size() {
303
303
"memory.min": "131072",
304
304
"memory.low": "524288",
305
305
"memory.high": "5242880",
306
- "memory.max": "20484096 ",
306
+ "memory.max": "10485760 ",
307
307
"pids.max": "99",
308
308
"cpu.max": "10000 100000",
309
309
"cpu.weight": "42"
@@ -319,14 +319,14 @@ convert_hugetlb_size() {
319
319
echo " $output " | grep -q ' ^memory.min:131072$'
320
320
echo " $output " | grep -q ' ^memory.low:524288$'
321
321
echo " $output " | grep -q ' ^memory.high:5242880$'
322
- echo " $output " | grep -q ' ^memory.max:20484096 $'
322
+ echo " $output " | grep -q ' ^memory.max:10485760 $'
323
323
echo " $output " | grep -q ' ^pids.max:99$'
324
324
echo " $output " | grep -q ' ^cpu.max:10000 100000$'
325
325
326
326
check_systemd_value " MemoryMin" 131072
327
327
check_systemd_value " MemoryLow" 524288
328
328
check_systemd_value " MemoryHigh" 5242880
329
- check_systemd_value " MemoryMax" 20484096
329
+ check_systemd_value " MemoryMax" 10485760
330
330
check_systemd_value " TasksMax" 99
331
331
check_cpu_quota 10000 100000 " 100ms"
332
332
check_cpu_weight 42
@@ -368,7 +368,7 @@ convert_hugetlb_size() {
368
368
}
369
369
| .linux.resources.unified |= {
370
370
"memory.min": "131072",
371
- "memory.max": "40484864 ",
371
+ "memory.max": "10485760 ",
372
372
"pids.max": "42",
373
373
"cpu.max": "5000 50000",
374
374
"cpu.weight": "42"
@@ -383,7 +383,7 @@ convert_hugetlb_size() {
383
383
384
384
runc exec test_cgroups_unified cat /sys/fs/cgroup/memory.max
385
385
[ " $status " -eq 0 ]
386
- [ " $output " = ' 40484864 ' ]
386
+ [ " $output " = ' 10485760 ' ]
387
387
388
388
runc exec test_cgroups_unified cat /sys/fs/cgroup/pids.max
389
389
[ " $status " -eq 0 ]
0 commit comments