From: Tejun Heo <tj@kernel.org>
To: Ivan Zahariev <famzah@icdsoft.com>
Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Cgroups "pids" controller does not update "pids.current" count immediately
Date: Fri, 15 Jun 2018 09:16:47 -0700 [thread overview]
Message-ID: <20180615161647.GW1351649@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <1d635d1d-6152-ecfc-d235-147ff1fe7c95@icdsoft.com>
Hello,
On Fri, Jun 15, 2018 at 07:07:27PM +0300, Ivan Zahariev wrote:
> I understand all concerns and design decisions. However, having
> RLIMIT_NPROC support combined with "cgroups" hierarchy would be very
> handy.
>
> Does it make sense that you introduce "nproc.current" and
> "nproc.max" metrics which work in the same atomic, real-time way
> like RLIMIT_NPROC? Or make this in a new "nproc" controller?
I'm skeptical for two reasons.
1. That doesn't sound much like a resource control problem but more of
a policy enforcement problem.
2. and it's difficult to see why such policies would need to be that
strict. Where is the requirement coming from?
Thanks.
--
tejun
next prev parent reply other threads:[~2018-06-15 16:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <77af3805-e912-2664-f347-e30c0919d0c4@icdsoft.com>
2018-06-14 17:26 ` Cgroups "pids" controller does not update "pids.current" count immediately Aleksa Sarai
2018-06-14 17:27 ` Aleksa Sarai
[not found] ` <20180614150650.GU1351649@devbig577.frc2.facebook.com>
2018-06-15 14:26 ` Ivan Zahariev
2018-06-15 15:41 ` Tejun Heo
2018-06-15 16:07 ` Ivan Zahariev
2018-06-15 16:16 ` Tejun Heo [this message]
2018-06-15 17:40 ` Ivan Zahariev
2018-06-15 19:07 ` Tejun Heo
2018-06-15 19:38 ` Ivan Zahariev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180615161647.GW1351649@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=famzah@icdsoft.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.