[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111104133848.GA9116@Debian-60-squeeze-64-minimal>
Date: Fri, 4 Nov 2011 14:38:48 +0100
From: Max Kellermann <max@...mpel.org>
To: Glauber Costa <glommer@...allels.com>
Cc: Li Zefan <lizf@...fujitsu.com>, "Brian K. White" <brian@...ex.com>,
cgroups@...r.kernel.org, containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] new cgroup controller "fork"
On 2011/11/04 14:11, Glauber Costa <glommer@...allels.com> wrote:
> For other uses, we can watch the task counter increase until a
> certain value, and then set the limit to 0.
>
> Max, wouldn't it be enough for your use?
No. We do have a process limit already (I didn't publish it yet), but
we might adopt Frederic's new controller as soon as it hits our
servers. The fork controller complements it, and we have many others.
We run a shared CGI hosting platform with millions of accounts, and
many users have badly designed or even vulnerable PHP scripts. The
fork controller is very effective at stopping certain kinds of those.
Other controllers shall keep other problems small. This mix of many
different measures has been working very well for quite a few years.
We'll just keep that code on our private git repository .. rebasing on
new kernel releases is easy enough for me.
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