Skip to content

Commit

Permalink
lower cgroup memory limits
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Nov 17, 2024
1 parent aa9771a commit 714dfb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuzz-cgroup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function CreateCgroup() {
# 4 vCPU for all fuzzers
echo "$((4 * 100))" >$cgdomain/cpu.weight
echo "$((4 * 100000))" >$cgdomain/cpu.max
echo "20G" >$cgdomain/memory.max
echo "2G" >$cgdomain/memory.max
fi
fi

Expand All @@ -29,7 +29,7 @@ function CreateCgroup() {
# 1 vCPU per fuzzer
echo "$((1 * 100))" >$name/cpu.weight
echo "$((1 * 100000))" >$name/cpu.max
echo "10G" >$name/memory.max
echo "256M" >$name/memory.max
}

function RemoveCgroup() {
Expand Down

0 comments on commit 714dfb5

Please sign in to comment.