Re: forkbombing Linux distributions

From: Max Kellermann
Date: Wed Mar 23 2005 - 09:31:35 EST


On 2005/03/23 15:23, Natanael Copa <mlists@xxxxxxxxxx> wrote:
> On Wed, 2005-03-23 at 14:53 +0100, Max Kellermann wrote:
> > The number of processes is counted per user, but CPU time and memory
> > consumption is counted per process.
>
> So limiting maximum number of processes will automatically limit CPU
> time and memory consumption per user?

No. I was talking about RLIMIT_CPU and RLIMIT_DATA, compared to
RLIMIT_NPROC. RLIMIT_NPROC limits the number of processes for that
user, nothing else (slightly simplified explanation).

Max

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/