[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170913220537.GA4172@castle>
Date: Wed, 13 Sep 2017 15:05:37 -0700
From: Roman Gushchin <guro@...com>
To: <linux-kernel@...r.kernel.org>
CC: Alexander Viro <viro@...iv.linux.org.uk>,
Ingo Molnar <mingo@...nel.org>, <kernel-team@...com>
Subject: Re: [RFC] proc, coredump: add CoreDumping flag to /proc/pid/status
On Thu, Sep 07, 2017 at 12:17:15PM +0100, Roman Gushchin wrote:
> Right now there is no convenient way to check if a process is being
> coredumped at the moment.
>
> It might be necessary to recognize such state to prevent killing
> the process and getting a broken coredump.
> Writing a large core might take significant time, and the process
> is unresponsive during it, so it might be killed by timeout,
> if another process is monitoring and killing/restarting
> hanging tasks.
>
> To provide an ability to detect if a process is in the state of
> being coreduped, we can expose a boolean CoreDumping flag
> in /proc/pid/status.
>
Ping?
Powered by blists - more mailing lists