Re: Resource limits

Matthew Helsley
2005-09-26T19:43:56Z

On Sun, 2005-09-25 at 17:12 +0300, Al Boldi wrote:
> Resource limits in Linux, when available, are currently very limited.
>
> i.e.:
> Too many process forks and your system may crash.
> This can be capped with threads-max, but may lead you into a lock-out.
>
> What is needed is a soft, hard, and a special emergency limit that would
> allow you to use the resource for a limited time to circumvent a lock-out.
>
> Would this be difficult to implement?
>
> Thanks!
>
> --
> Al

Have you looked at Class-Based Kernel Resource Managment (CKRM)
(http://ckrm.sf.net) to see if it fits your needs? My initial thought is
that the CKRM numtasks controller may help limit forks in the way you
describe.

If you have any questions about it please join the CKRM-Tech mailing
list (ckrm-tech@lists.sourceforge.net) or chat with folks on the OFTC
IRC #ckrm channel.

Cheers,
-Matt Helsley