<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div>George<div> Iirc you have to rebuild the kernel with the following options.</div><div><br></div><div><pre ng-if="tab == 0" style="box-sizing: border-box; overflow: auto; margin-bottom: 0px; margin-top: 0px !important;"><code style="box-sizing: border-box; padding: 0px; line-height: 18px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; overflow: hidden; margin-top: 0px !important;"><span class="cm-s-neo" style="box-sizing: border-box; margin-top: 0px !important; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">options RACCT </font></span></code></pre><pre ng-if="tab == 0" style="box-sizing: border-box; overflow: auto; margin-bottom: 0px; margin-top: 0px !important;"><code style="box-sizing: border-box; padding: 0px; line-height: 18px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; overflow: hidden; margin-top: 0px !important;"><span class="cm-s-neo" style="box-sizing: border-box; margin-top: 0px !important; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">
options </font></span></code><span style="font-family: UICTFontTextStyleBody; white-space: normal; background-color: rgba(255, 255, 255, 0);"> RCTL </span></pre></div><div><br></div><div><br><br><div id="AppleMailSignature">---<div>Mark Saad | <a href="mailto:mark.saad@ymail.com">mark.saad@ymail.com</a></div></div><div><br>On Jan 17, 2018, at 4:05 PM, George Rosamond <<a href="mailto:george@ceetonetechnology.com">george@ceetonetechnology.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Not sure if anyone has dabbled in it, but I'm not seeing rctl(8) on</span><br><span>FreeBSD actually performing "deny" on FreeBSD 11-current.</span><br><span></span><br><span>/boot/loader.conf is set correctly with racct with kern.acct.enable=1 as</span><br><span>a read-only sysctl, outputs correctly:</span><br><span></span><br><span>% sysctl kern.racct.enable</span><br><span>kern.racct.enable: 1</span><br><span></span><br><span>The rule is simple, where ${user} is the particular daemon user:</span><br><span></span><br><span>user:${user}:memoryuse:deny=2500000/user</span><br><span></span><br><span>Am I missing something?</span><br><span></span><br><span>g</span><br><span></span><br><span>-- </span><br><span></span><br><span></span><br><span>5822 F82D 665B 5C6A 915B FAD4 B014 1CEE 545A A6C6</span><br><span></span><br><span>_______________________________________________</span><br><span>talk mailing list</span><br><span><a href="mailto:talk@lists.nycbug.org">talk@lists.nycbug.org</a></span><br><span><a href="http://lists.nycbug.org/mailman/listinfo/talk">http://lists.nycbug.org/mailman/listinfo/talk</a></span><br></div></blockquote></div></div></body></html>