[CRIU] Dumping of stream unix connection

Pavel Emelyanov xemul at parallels.com
Wed Mar 25 05:57:26 PDT 2015


On 03/25/2015 01:46 PM, Анатолий Баранов wrote:
> Hi all,
> I found that there are troubles with dumping of stream Unix connection: when I'm trying to 
> checkpoint it, I'm receiving "Can't dump half of stream Unix connection" message.
> I've found this thread: http://lists.openvz.org/pipermail/criu/2013-June/009320.html but it
> didn't help.
> The usage scenario is following: I'm having a parent process and a child processes communicating 
> via stream Unix socket. The idea is to dump child process when it's not needed and to restore it
> again later,

But what to do with this connection upon restore?

> no live migration of this process required. Is there a standard way to perform such
> a thing, or do I have to use plugins?

Right now -- no, CRIU doesn't break external connections, it tries to handle them,
e.g. dgram sockets or TCP. For stream unix you can use plugin, but if the use-case
is generic enough we can eventually integrate the solution into CRIU.

Thanks,
Pavel




More information about the CRIU mailing list