bastille icon indicating copy to clipboard operation
bastille copied to clipboard

Limits not working ?

Open amarc opened this issue 2 years ago • 0 comments

Hello,

this is my initial journey with bastille, so this might be "RTFM" moment but I have to admit I have not found a lot in docs regarding limits.

So basically I added:

kern.racct.enable="1" in /boot/loader.conf

than I simply tried something like:

bastille limits nginx3 memoryuse 4G

but limits are not aplied at all. Also on stop/start of jail I can see errors like:

rctl: failed to remove rule 'jail:nginx3:cpu:deny=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpu:log=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpuuse:deny=1/jail': Invalid argument
rctl: failed to remove rule 'jail:nginx3:cpuuse:log=1/jail': Invalid argument

This is on 13.1 FreeBSD and bastille 0.9.20220714

So what am I missing here and how can I fix it ?

ty.

amarc avatar Aug 26 '22 23:08 amarc