lkml.org 
[lkml]   [2010]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cgroup: rmdir() does not complete
On Thu, 2 Sep 2010, KAMEZAWA Hiroyuki wrote:

[...]
> But hmm...it's curious who holds mutex and what happens.

I have a system showing the failure case (but still do not have a way to
reliably repeat it)

Here are the two processes:

23586 pts/0 RL+ 5059:18 /net/homes/mhills/tmp/soaked-cgroup
23685 pts/6 DL+ 0:00 /net/homes/mhills/tmp/soaked-cgroup

23586 spends almost all of its time in 'RL+' status, occasionally it is
seen in 'DL+' status.

From my analysis before, both are blocked on rmdir(), but one is spinning,
holding the lock on the /cgroup, and the other is waiting for the lock. If
I strace 23586 then the rmdir() fails with EINTR.

How best to capture information which might show why the process spins?

--
Mark


\
 
 \ /
  Last update: 2010-09-09 12:05    [W:0.098 / U:1.000 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site