Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 09:33:27 +0800
From:      Jov <amutu@amutu.com>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        "Steve O'Hara-Smith" <steve@sohara.org>, freebsd-questions@freebsd.org
Subject:   Re: Resource Limits Within Jails
Message-ID:  <CADyrUxNks4LgqLTM6i8KAA1a6B=Xx9bz3pG=-wAdJqMOCMhTgg@mail.gmail.com>
In-Reply-To: <587436BE.20207@gmail.com>
References:  <118410c1-1e3e-2388-ea5b-682515bc39f1@ssimicro.com> <20170105191847.705e2e863078640a98bfb330@sohara.org> <587436BE.20207@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>:

> Steve O'Hara-Smith wrote:
>
>> On Thu, 5 Jan 2017 11:53:55 -0700
>> markham breitbach <markham@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
> @freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyrUxNks4LgqLTM6i8KAA1a6B=Xx9bz3pG=-wAdJqMOCMhTgg>