Resource Limits Within Jails
Ernie Luzar
luzar722 at gmail.com
Tue Jan 10 01:19:59 UTC 2017
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.
More information about the freebsd-questions
mailing list