Re: cgroup: rmdir() does not complete

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Hills
Date: Thursday, September 9, 2010 - 3:01 am

On Thu, 2 Sep 2010, KAMEZAWA Hiroyuki wrote:

[...]

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cgroup: rmdir() does not complete, Mark Hills, (Thu Aug 26, 8:51 am)
Re: cgroup: rmdir() does not complete, Daisuke Nishimura, (Thu Aug 26, 5:56 pm)
Re: cgroup: rmdir() does not complete, Balbir Singh, (Thu Aug 26, 6:20 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Aug 26, 6:25 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Aug 26, 7:35 pm)
Re: cgroup: rmdir() does not complete, Daisuke Nishimura, (Thu Aug 26, 8:39 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Aug 26, 10:42 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Aug 26, 11:29 pm)
Re: cgroup: rmdir() does not complete, Balbir Singh, (Mon Aug 30, 12:32 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Mon Aug 30, 2:13 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Mon Aug 30, 2:25 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Wed Sep 1, 4:10 am)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Wed Sep 1, 4:42 pm)
Re: cgroup: rmdir() does not complete, Mark Hills, (Thu Sep 2, 2:45 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Thu Sep 9, 3:01 am)
Re: cgroup: rmdir() does not complete, Balbir Singh, (Thu Sep 9, 3:09 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Thu Sep 9, 4:36 am)
Re: cgroup: rmdir() does not complete, Peter Zijlstra, (Thu Sep 9, 4:50 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Thu Sep 9, 4:04 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Sep 9, 4:43 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Sep 9, 7:16 pm)
Re: cgroup: rmdir() does not complete, Daisuke Nishimura, (Thu Sep 9, 9:05 pm)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Thu Sep 9, 9:11 pm)
Re: cgroup: rmdir() does not complete, Mark Hills, (Fri Sep 10, 12:28 am)
Re: cgroup: rmdir() does not complete, KAMEZAWA Hiroyuki, (Fri Sep 10, 12:33 am)
Re: cgroup: rmdir() does not complete, Mark Hills, (Fri Sep 10, 12:51 am)