Limiting CPU on some processes on web server
opendaddy at hushmail.com
opendaddy at hushmail.com
Wed Mar 11 13:42:40 UTC 2015
On 11. mars 2015 at 1:04 PM, "Polytropon" <freebsd at edvax.de> wrote:
>
>You can try ulimit. See "man sh" for ulimit parameters,
>for example:
>
> -t time
> The maximal amount of CPU time to be used by
>each
> process, in seconds.
>
>There are other restrictions you can apply, like memory
>locking or simultaneous processes.
>
Thanks, will give that a go.
Any idea how it compares to https://github.com/opsengine/cpulimit/ though?
All the best,
O.D.
More information about the freebsd-questions
mailing list