[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111103171645.GA27887@rabbit.intern.cm-ag>
Date: Thu, 3 Nov 2011 18:16:45 +0100
From: Max Kellermann <mk@...all.com>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org,
Li Zefan <lizf@...fujitsu.com>,
Johannes Weiner <hannes@...xchg.org>,
Tim Hockin <thockin@...kin.org>
Subject: Re: [PATCH] new cgroup controller "fork"
On 2011/11/03 17:43, Frederic Weisbecker <fweisbec@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists