aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2024-06-21 19:30:08 -0700
committerGreg Steuck <greg@nest.cx>2024-07-08 15:50:26 +0000
commit6797347ace44e11c47b458fe55ed00d200a88ade (patch)
treee2778453e93108cf7905944f7791f388936eda27 /tools
parentb8fcf1b82f83f429e34abf21ae483bd066be790c (diff)
tools/create-openbsd: bump up the limits for syz-bit
As syz-bot became much more aggressive about resource usage lately it started running over the limits and is getting blocked. Give it all the rope it wants. There's nothing else on the VM anyway. Used the vmd class as it is given the most memory in login.conf.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-openbsd-gce-ci.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create-openbsd-gce-ci.sh b/tools/create-openbsd-gce-ci.sh
index bdba48b52..66f184648 100755
--- a/tools/create-openbsd-gce-ci.sh
+++ b/tools/create-openbsd-gce-ci.sh
@@ -66,11 +66,11 @@ EOF2
echo "starting syz-ci"
fsck -y /dev/sd1a
mount /syzkaller
- su -l syzkaller <<EOF2
+ su -c vmd -l syzkaller <<EOF2
cd /syzkaller
export HOME=/syzkaller
set -eux
- ulimit -d 8000000
+ ulimit -n 1024 -d 16000000
mkdir -p /syzkaller/go-cache
export GOCACHE=/syzkaller/go-cache
test -d /syzkaller/gopath/src/github.com/google/syzkaller || (