Re: [PATCH v4] cgroup: Add pids controller event when fork fails because of pid limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 21, 2016 at 10:44:50AM -0700, Kenny Yu wrote:
> This patch adds more visibility into the pids controller when the controller
> rejects a fork request. Whenever fork fails because the limit on the number of
> pids in the cgroup is reached, the controller will log this and also notify the
> newly added cgroups events file. The `max` key in the events file represents
> the number of times fork failed because of the pids controller.
> 
> This change also logs only the first time the `max` event counter is
> incremented. This is to provide a hint to the user to understand why fork
> failed, as users are not yet used to seeing fork failures because of the
> pids controller.
> 
> Signed-off-by: Kenny Yu <kennyyu@xxxxxx>
> Acked-by: Johannes Weiner <hannes <at> cmpxchg.org>

Applied to cgroup/for-4.8.  Thanks!

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux