From 93f844de48fff3f13271ec9e3fc2f5abf7692424 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sat, 15 May 2021 05:24:13 -0400 Subject: pkg/build: configure vm.panic_on_oom on FreeBSD (#2587) OOM kills are a source of "lost connection to test machine" and "no output from test machine reports". At the point where we start getting OOM kills, we might as well give up, and turning them into a panic gives us some extra debugging info as well as a way to distinguish OOM kills from other causes of these reports. --- pkg/build/freebsd.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') diff --git a/pkg/build/freebsd.go b/pkg/build/freebsd.go index 0b938a1af..5c3dac7fd 100644 --- a/pkg/build/freebsd.go +++ b/pkg/build/freebsd.go @@ -92,6 +92,7 @@ cc_htcp_load="YES" cc_vegas_load="YES" kern.ipc.tls.enable="1" +vm.panic_on_oom="1" __EOF__ cat | sudo tee -a ${tmpdir}/etc/sysctl.conf <<__EOF__ -- cgit mrf-deployment