Re: [PATCH] new cgroup controller "fork"

From: Max Kellermann
Date: Thu Nov 03 2011 - 13:16:43 EST


On 2011/11/03 17:43, Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
> Please have a look at the task counter subsystem: https://lwn.net/Articles/461462/
>
> It's in the -mm tree. I'm glad to hear about another user who wants
> this feature in cgroups. We need to hear about you and whether this
> meets your requirements in order to get it merged upstream.

Had a quick look at your patch set. No, it does not seem to meet my
requirements. It limits the number of processes in a cgroup - that is
also very useful, but is different from my controller.

My controller limits the number of fork() calls, not the number of
processes running at a time.

I've been using it for 7 years to put an upper bound on CGI resource
usage in a shared hosting environment at my employer (initially based
on a proprietary cgroup-like subsystem I wrote, when cgroups were not
available yet).

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/