Comment 26 for bug 1394919

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

On Tue, 2014-11-25 at 07:53 +0000, Jean-Baptiste Lallement wrote:

> In syslog webapp-container is killed at
> Nov 25 08:24:23 ubuntu-phablet kernel: [16138.987397]Killing 'webapp-containe' (23587), adj 900,

That probably explains the multiple requests in the log. The utility
that runs when a process is killed is cgroup-reap-all, which ensures
that all the PIDs from the cgroup are killed. It does this by killing
them, but also ensuring that the list becomes empty. It can do multiple
requests to ensure that the application isn't avoiding being killed by
trying to "out spawn" the cleanup utility.

http://bazaar.launchpad.net/~indicator-applet-developers/ubuntu-app-launch/trunk.rtm-14.09/view/head:/cgroup-reap-all.c

It could be triggering a race in cgproxy where a PID is leaving the
group, or the group is being destroyed at the same time as the reaper is
asking for the PIDs in it.