[CRIU] Criu issue : Error parsing proc fdinfo

Pavel Emelyanov xemul at parallels.com
Tue Jan 21 11:56:06 PST 2014


On 01/21/2014 05:40 PM, Smain Kahlouch wrote:
> Hello guys,
> 
> I don't know if it's the right place to post this issue 

100% correct place :)

> but I didn't find another way to contact you.
> 
> I'm currently testing lxc features ("docker" to be precise) 
> and I'm facing the following message when I try to use criu :
> 
> 2 - Identify what i want to dump, for example varnish:
> 
> init,1  

...

>   │   │       └─varnishd,4792 -P /var/run/varnishd.pid -a :8000 -T :6082 -f /etc/varnish/default.vcl -p ...
>   │   │           └─varnishd,4794 -P /var/run/varnishd.pid -a :8000 -T :6082 -f /etc/varnish/default.vcl -p ...
>   │   │               ├─{varnishd},4795
>   │   │               ├─{varnishd},4796

...

>   │   │               └─{varnishd},4813
> 
> 3 - try to dump
> 
> criu dump --tree 4792 --images-dir /data/ --leave-stopped
> pie: Error (pie/parasite.c:243): mount failed (-1)
> pie: Error (pie/parasite.c:474): Close the control socket for writing

Thank you for the report! Can you also find our these two things:

1. What's the user ID of the varnish tasks you try to dump

and

2. In what namespaces do they live. This thing can be quickly checkd
   by comparing /proc/$pid/ns/* links' targets for varnish tasks and
   for the shell you run criu from.


Thanks,
Pavel


More information about the CRIU mailing list