criu icon indicating copy to clipboard operation
criu copied to clipboard

Restore fails with the error `Can't connect inet socket back: Cannot assign requested address` or `Can't restore 0x7f1164021000 mapping with 0xfffffffffffffff4`

Open PavloMykhailyshyn opened this issue 3 years ago • 6 comments

I ran into a problem during process restore. I am starting a process in a separate session using setsid. I use criu-ns to perform dump and restore. The restore did not work as expected after several times of successful dumping and restoring the same process. These errors are really rare, but it would be better to know what is going on there.

Cant restore 0x7f1164021000 mapping with 0xfffffffffffffff4.txt Cant connect inet socket back Cannot assign requested address.txt

PavloMykhailyshyn avatar Mar 23 '22 08:03 PavloMykhailyshyn

@avagin , @Snorch and @rst0git

PavloMykhailyshyn avatar Mar 23 '22 08:03 PavloMykhailyshyn

(00.018574) pie: 828449: Error (criu/pie/restorer.c:1518): Can't restore 0x7f1164021000 mapping with 0xfffffffffffffff4

0xfffffffffffffff4 is ENOMEM here, isn't it?

avagin avatar Mar 23 '22 15:03 avagin

ok, got it but what about another problem?

PavloMykhailyshyn avatar Mar 28 '22 21:03 PavloMykhailyshyn

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Apr 28 '22 01:04 github-actions[bot]

@PavloMykhailyshyn

Can't connect inet socket back: Cannot assign requested address

That looks like some other process is using same port you want to restore with, to fix this use container environment with criu support (e.g. podman) to isolate your app from all others.

Snorch avatar Apr 28 '22 11:04 Snorch

I met this problem Cannot assign requesed address recently. The reason is that the ip adress hasn't been configured.

time-river avatar May 23 '22 01:05 time-river