[CRIU] hang in ip tool

Pavel Emelyanov xemul at parallels.com
Mon Sep 8 03:53:36 PDT 2014


On 09/05/2014 11:22 PM, Tycho Andersen wrote:
> Hi all,
> 
> On Wed, Sep 03, 2014 at 06:45:39PM +0400, Pavel Emelyanov wrote:
>> On 09/03/2014 05:52 PM, Tycho Andersen wrote:
>>> Hi all,
>>>
>>> Recently when restoring containers I have been getting a hang in the
>>> ip tool when criu runs 'ip addr restore'. It prints,
>>>
>>> RTNETLINK answers: File exists
>>> RTNETLINK answers: File exists
>>
>> I've seen such when it was putting 127.0.0.1 on lo which was
>> already there "automatically" (some kernels seem to do it by
>> default).
>>
>>> and then seems to hang. Has anyone seen this behavior, or any ideas
>>> what the problem is?
>>
>> Hanging is something new to me, I've never seen it. Can you 
>> strace it to check where the problem is?
> 
> So this issue did just resurface and it turns out that it's not
> actually hanging in ip tool, it is hanging in cr_system in the
> sigprocmask call where it is resetting the mask. As I write this, it
> seems to have gone away again. Any ideas what might cause this?

Hm... I've never seen a process hanging in procmask reset. Can you
check the /proc/pid/stack file when it hangs for exact in-kernel
calltrace?

> Thanks,
> 
> Tycho
> 
>>> Thanks,
>>>
>>> Tycho
>>> _______________________________________________
>>> CRIU mailing list
>>> CRIU at openvz.org
>>> https://lists.openvz.org/mailman/listinfo/criu
>>>
>>
> 



More information about the CRIU mailing list