From: Arun Raghavan <arun@arunraghavan.net>
To: Dave Jones <davej@codemonkey.org.uk>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: rlimits: Print more information when CPU/RT limits are exceeded
Date: Thu, 04 May 2017 10:08:16 +0530 [thread overview]
Message-ID: <1493872696.160584.965253552.34C536BA@webmail.messagingengine.com> (raw)
In-Reply-To: <20170502031230.jz5b6witmmujsdmq@codemonkey.org.uk>
On Tue, 2 May 2017, at 08:42 AM, Dave Jones wrote:
> On Mon, May 01, 2017 at 11:21:52PM +0000, Linux Kernel wrote:
> > Web: https://git.kernel.org/torvalds/c/e7ea7c9806a2681807257ea89085339d33f7fa0b
> > Commit: e7ea7c9806a2681807257ea89085339d33f7fa0b
> > Parent: 4495c08e84729385774601b5146d51d9e5849f81
> > Refname: refs/heads/master
> > Author: Arun Raghavan <arun@arunraghavan.net>
> > AuthorDate: Wed Mar 1 20:23:09 2017 +0530
> > Committer: Thomas Gleixner <tglx@linutronix.de>
> > CommitDate: Mon Mar 13 21:32:15 2017 +0100
> >
> > rlimits: Print more information when CPU/RT limits are exceeded
> >
> > When a process is sent a SIGKILL because it exceeded CPU or RT limits,
> > the cause may not be obvious in userspace -- daemonised processes just
> > get killed, and even foreground process just see a 'Killed' message. The
> > lack of any information on why this might be happening in logs can be
> > confusing to users who are not aware of this mechanism.
> >
> > Add messages which dump the process name and tid in dmesg when a process
> > exceeds its CPU or RT limits (soft and hard) in order to make it clearer to
> > people debugging such issues.
> >
> > Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
> > Link: http://lkml.kernel.org/r/20170301145309.27214-1-arun@arunraghavan.net
> > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> This needs to be configurable, because this is really obnoxious..
Is there an example of hos this is done elsewhere that I can work off?
Thanks,
Arun
next prev parent reply other threads:[~2017-05-04 4:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170501232152.8142E661220@gitolite.kernel.org>
2017-05-02 3:12 ` Dave Jones
2017-05-04 4:38 ` Arun Raghavan [this message]
2017-05-04 13:32 ` Dave Jones
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=1493872696.160584.965253552.34C536BA@webmail.messagingengine.com \
--to=arun@arunraghavan.net \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome