[Devel] Re: Freezer cgroup Failed
Matt Helsley
matthltc at us.ibm.com
Thu Jun 10 07:17:46 PDT 2010
On Thu, Jun 10, 2010 at 01:45:05PM +0900, Jerf gefera wrote:
> Dear there,
> The self_checkpoint and self_restart are working now, but why external
> checkpoint cannot work.I did it like the following two ways:
> 1) $./onetask &
> $./checkpoint 4347 >img
> checkpoint: Device or resource busy
> (you may use 'ckptinfo -e' for more info)
>
> And the content in the image file is "[Error at do_checkpoint:583][err
> -16]Freezer cgroup failed"
(You need to freeze it as you're trying to do below...)
> 2) $./onetask &
> $.echo 4354 > /cgroup/0/tasks
> $echo FROZEN > /cgroup/0/freezer.state
> $./checkpoint 4354 > ckpt.image
> checkpoint: Device or resource busy
> (you may use 'ckptinfo -e' for more info)
> And the content in the image file is "[Error at do_checkpoint:583][err
> -16]Freezer cgoup failed"
> The content in freezer.state is "FROZEN". I do not know what is wrong, can
> anyone can give me a hand.
You verified that the task shows up in /cgroup/0/tasks? (I ask because you
can't move a task into an already-frozen cgroup)
Are you still using v19?
Cheers,
-Matt Helsley
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list