Limiting CPU on some processes on web server

opendaddy at hushmail.com opendaddy at hushmail.com
Wed Mar 11 14:41:22 UTC 2015


On 11. mars 2015 at 2:27 PM, "Polytropon" <freebsd at edvax.de> wrote:
>
>Judging from its manpage (yes, it _has_ a manpage!):
>
>       -l, --limit=N
>              percentage of CPU allowed from 0 to 100 (mandatory)
>
>This seems to fulfill the requirement of setting the limit
>according to load percentage, instead of time (like ulimit -t).

Yep. If I'm not mistaken, sysutils/cpulimit is just an older version of https://github.com/opsengine/cpulimit, one that doesn't support custom arguments (http://superuser.com/a/443008/327566 mentions that it's only available in the development version).

Thanks!

O.D.



More information about the freebsd-questions mailing list