[talk] rctl(8) on FreeBSD

Mark Saad mark.saad at ymail.com
Wed Jan 17 19:14:35 EST 2018


George
  Iirc you have to rebuild the kernel with the following options.

options RACCT 
options  RCTL 



---
Mark Saad | mark.saad at ymail.com

> On Jan 17, 2018, at 4:05 PM, George Rosamond <george at ceetonetechnology.com> wrote:
> 
> Not sure if anyone has dabbled in it, but I'm not seeing rctl(8) on
> FreeBSD actually performing "deny" on FreeBSD 11-current.
> 
> /boot/loader.conf is set correctly with racct with kern.acct.enable=1 as
> a read-only sysctl, outputs correctly:
> 
> % sysctl kern.racct.enable
> kern.racct.enable: 1
> 
> The rule is simple, where ${user} is the particular daemon user:
> 
> user:${user}:memoryuse:deny=2500000/user
> 
> Am I missing something?
> 
> g
> 
> -- 
> 
> 
> 5822 F82D 665B 5C6A 915B FAD4 B014 1CEE 545A A6C6
> 
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20180117/425d6a01/attachment.html>


More information about the talk mailing list