Closed ofinto closed 3 years ago
Your config contains lxc.tty twice and I don't know what value is used.
Sorry for that, I changed config, reboot lxc and checkpoint create successfully. Thank you
Hi, it's me again, checkpoint was created successfully, but restore process was failed restore.log
Warn (criu/cr-restore.c:1161): Set CLONE_PARENT | CLONE_NEWPID but it might cause restore problem,because not all kernels support such clone flags combinations!
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
iptables-restore: invalid option -- 'w'
ip6tables-restore: invalid option -- 'w'
1: Warn (criu/sk-unix.c:1515): sk unix: Can't unlink stale socket 0xf5e234cc peer 0 (name /var/run/php5-fpm.sock dir -)
1: Warn (criu/sk-unix.c:1515): sk unix: Can't unlink stale socket 0xf5e1ae54 peer 0 (name /var/run/mysqld/mysqld.sock dir -)
1: Warn (criu/sk-unix.c:1515): sk unix: Can't unlink stale socket 0xf5e1d6f2 peer 0 (name /var/run/dbus/system_bus_socket dir -)
2496: Error (criu/shmem.c:563): Can't restore shmem content
2496: Error (criu/mem.c:1200): `- Can't open vma
3262: Debug: Setting 1 queue seq to 3089071390
3262: Debug: Setting 2 queue seq to 1658922559
3262: Debug: Restoring TCP options
3262: Debug: Will turn SAK on
3262: Debug: Will set snd_wscale to 7
3262: Debug: Will set rcv_wscale to 7
3262: Debug: Will turn timestamps on
3262: Debug: Will set mss clamp to 1460
3262: Debug: Setting 1 queue seq to 4291181196
3262: Debug: Setting 2 queue seq to 530791768
3262: Debug: Restoring TCP options
3262: Debug: Will turn SAK on
3262: Debug: Will set snd_wscale to 7
3262: Debug: Will set rcv_wscale to 7
3262: Debug: Will turn timestamps on
3262: Debug: Will set mss clamp to 1460
1: Error (criu/cr-restore.c:1298): 2496 exited, status=1
1179: Error (criu/shmem.c:563): Can't restore shmem content
1179: Error (criu/mem.c:1200): `- Can't open vma
Error (criu/cr-restore.c:2171): Restoring FAILED.
What's your criu version?
It might be connected to this patch.
@0x7f454c46 sorry I missed this patch. The same problem was workarounded in 3.6 by another patch: commit f65517b95d9da8117d74065da3e3b4877f75731f Author: Andrei Vagin avagin@virtuozzo.com Date: Sat Oct 14 04:19:35 2017 +0300
shmem: dump shared memory before dumping namespaces
@avagin don't worry, I've just pointed to the similar issue, looks like it's not the reason :)
A friendly reminder that this issue had no activity for 30 days.
Hello, I tested criu empty lxc container (without programs) and all works fine, but when i checked production container with mysql / nginx / dnsmasq checkpointing failed.