fff-config: Set panic on OOM

The OOM killer does not make much sense on a router, because regardless
of which process is killed, most of the time some essential core
functionality is affected.

Set the panic on OOM sysctl, so every OOM leads to a kernel panic and
results in a reboot of the router, which restores a clean state.

Fixes: #131

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>
This commit is contained in:
Fabian Bläse 2021-12-30 15:50:18 +01:00
parent 17bc1a7e62
commit a5ad4a9b00
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
vm.panic_on_oom=1