[CRIU] Dumping of stream unix connection

Pavel Emelyanov xemul at parallels.com
Wed Mar 25 07:08:56 PDT 2015


On 03/25/2015 05:00 PM, Anatoly Baranov wrote:
> 
> 2015-03-25 15:57 GMT+03:00 Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>>:
> 
>     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?
> 
> Sorry, but I'm afraid, I didn't understand you question. I intended to continue sending streamed data
> from the point where it was dumped. Did you mean I won't be able to use the connection after I restore it?

Well, child will be able to do it, but what about parent? Once you dumped the child
and killed one parent would notice the EOF on the socket and will close it. So after
restore of child there will be no "peer" to send data to.

-- Pavel


More information about the CRIU mailing list