Resource Limits Within Jails

Jov amutu at amutu.com
Tue Jan 10 01:33:49 UTC 2017


hi,
It is rctl. man rctl get more info.
and you should add kern.racct.enable=1 to /boot/loader.conf and reboot to
make the function enabled.

2017-01-10 9:19 GMT+08:00 Ernie Luzar <luzar722 at gmail.com>:

> Steve O'Hara-Smith wrote:
>
>> On Thu, 5 Jan 2017 11:53:55 -0700
>> markham breitbach <markham at ssimicro.com> wrote:
>>
>> I am trying to figure out the best way to manage resource limits for a
>>> particular daemon within a jail (specifically memory usage), without
>>> having to limit the entire jail and other processes within.
>>>
>>
>>         Not specific to jails but one way is to start the daemon from a
>> shell script and use ulimit to set resource limits before execing the
>> daemon.
>>
>>
> I remember reading about resource limiting functions being added to the
> base system in 10.x or maybe it was a port. I don't recall its name. It has
> ability to do jail resource limiting. It has also been talked about on this
> list. Do a find on "resource limiting" in this list archives.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
> @freebsd.org"
>


More information about the freebsd-questions mailing list