Comments (5)
Try to enable support to dump file-locks as described in the error message. With Podman you can do something like podman container checkpoint --file-locks
. Not sure if this works in Docker.
You could also do echo "file-locks" >> /etc/criu/runc.conf
to try to make work in Docker.
from criu.
I think there was recently a discussion that inotify does not work on overlayfs with default options. So either you have to change the mount options or use a container that does not use inotify
from criu.
I've changed storage driver to vfs and now i am getting another error:
(00.975275) 0x7fe3c118f000-0x7fe3c1190000 (4K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0 reg fp shmid: 0x5b
(00.975279) 0x7fe3c1190000-0x7fe3c11b0000 (128K) prot 0x5 flags 0x2 fdflags 0 st 0x41 off 0x1000 reg fp shmid: 0x5b
(00.975283) 0x7fe3c11b0000-0x7fe3c11b8000 (32K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0x21000 reg fp shmid: 0x5b
(00.975287) 0x7fe3c11b8000-0x7fe3c11b9000 (4K) prot 0x3 flags 0x22 fdflags 0 st 0x201 off 0 reg ap shmid: 0
(00.975291) 0x7fe3c11b9000-0x7fe3c11ba000 (4K) prot 0x1 flags 0x2 fdflags 0 st 0x41 off 0x29000 reg fp shmid: 0x5b
(00.975296) 0x7fe3c11ba000-0x7fe3c11bb000 (4K) prot 0x3 flags 0x2 fdflags 0 st 0x41 off 0x2a000 reg fp shmid: 0x5b
(00.975301) 0x7fe3c11bb000-0x7fe3c11bc000 (4K) prot 0x3 flags 0x22 fdflags 0 st 0x201 off 0 reg ap shmid: 0
(00.975306) 0x7fff5062f000-0x7fff50650000 (132K) prot 0x3 flags 0x122 fdflags 0 st 0x201 off 0 reg ap shmid: 0
(00.975310) 0x7fff50763000-0x7fff50767000 (16K) prot 0x1 flags 0x22 fdflags 0 st 0x1201 off 0 reg vvar ap shmid: 0
(00.975313) 0x7fff50767000-0x7fff50769000 (8K) prot 0x5 flags 0x22 fdflags 0 st 0x209 off 0 reg vdso ap shmid: 0
(00.975316) 0xffffffffff600000-0xffffffffff601000 (4K) prot 0x4 flags 0x22 fdflags 0 st 0x204 off 0 vsys ap shmid: 0
(00.975320) Obtaining task auvx ...
(00.976075) Dumping path for -3 fd via self 19 [/app/AutoDispatcherServer]
(00.976122) Dumping path for -3 fd via self 19 [/]
(00.976132) Dumping task cwd id 0xcc root id 0xcd
(00.976321) mnt: Dumping mountpoints
(00.976332) mnt: 549: 46:/ @ ./sys/devices/virtual/powercap
(00.984918) mnt: 548: 45:/ @ ./sys/firmware
(00.991427) mnt: 547: 44:/ @ ./proc/scsi
(00.997778) mnt: 546: 3a:/null @ ./proc/timer_list
(00.997794) mnt: 545: 3a:/null @ ./proc/keys
(00.997799) mnt: 544: 3a:/null @ ./proc/kcore
(00.997803) mnt: 543: 43:/ @ ./proc/acpi
(01.003814) mnt: 542: 39:/sysrq-trigger @ ./proc/sysrq-trigger
(01.003828) mnt: 541: 39:/sys @ ./proc/sys
(01.003832) mnt: 540: 39:/irq @ ./proc/irq
(01.003836) mnt: 539: 39:/fs @ ./proc/fs
(01.003839) mnt: 538: 39:/bus @ ./proc/bus
(01.003842) mnt: 666: 10300001:/var/lib/docker/containers/bde2afe8c23fab10c828a4cbd6db9a20fa96f870be7b3c4437f104fd97a7ae41/hosts @ ./etc/hosts
(01.003849) mnt: 665: 10300001:/var/lib/docker/containers/bde2afe8c23fab10c828a4cbd6db9a20fa96f870be7b3c4437f104fd97a7ae41/hostname @ ./etc/hostname
(01.003853) mnt: 663: 10300001:/var/lib/docker/containers/bde2afe8c23fab10c828a4cbd6db9a20fa96f870be7b3c4437f104fd97a7ae41/resolv.conf @ ./etc/resolv.conf
(01.003858) mnt: 661: 41:/ @ ./dev/shm
(01.009696) mnt: 658: 36:/ @ ./dev/mqueue
(01.009793) mnt: 657: 19:/ @ ./sys/fs/cgroup
(01.009799) mnt: 655: 3d:/ @ ./sys
(01.009803) mnt: 652: 3b:/ @ ./dev/pts
(01.009806) mnt: 651: 3a:/ @ ./dev
(01.009809) mnt: Mount is not fully visible ./dev(651)
(01.009864) mnt: mount has children ./dev(651)
(01.017304) mnt: 650: 39:/ @ ./proc
(01.017319) mnt: 649: 10300001:/var/lib/docker/vfs/dir/ea77f4f8b0d6c5e5dd18a3f8397d4568dbbe0e9fc369bf0784803b4605d10406 @ ./
(01.017352) Dumping file-locks
(01.017356) Error (criu/file-lock.c:110): Some file locks are hold by dumping tasks! You can try --file-locks to dump them.
(01.017453) net: Unlock network
(01.017603) Running network-unlock scripts
(01.017609) RPC
(01.040770) Unfreezing tasks into 1
(01.040803) Unseizing 390283 into 1
(01.041144) Error (criu/cr-dump.c:2093): Dumping FAILED.
from criu.
@uetaaam Can this be closed?
from criu.
A friendly reminder that this issue had no activity for 30 days.
from criu.
Related Issues (20)
- [question about criu] Will it work on steam deck? HOT 2
- CRIU dumps triggers COW on all memory in all child processes HOT 18
- How a app can know that it had been dumping by criu HOT 7
- ERR: vdso01.c:378: Delta is too big HOT 2
- docker checkpoint create failed: Error (compel/src/lib/ptrace.c:27): suspending seccomp failed: Operation not permitted HOT 2
- Checkpointing runC container is giving error: Unable to connect a transport socket: Permission denied HOT 5
- How to make parasite code support glibc? HOT 5
- How disable plugin for nvidia gpu HOT 2
- How to use CRIU with CUDA HOT 2
- Cannot dump process that opened file in tracefs HOT 4
- Cannot checkpoint container: /usr/bin/nvidia-container-runtime did not terminate successfully: exit status 1 HOT 14
- gcc format-truncation warnings on Ubuntu 24.04 HOT 7
- Question: Lazy restore tends to restore all pages rather than those pages that really touched ? HOT 9
- Can't get reg-files.img by dump. HOT 7
- Following the `setcap` instruction raises 'fatal error: Invalid argument' HOT 6
- Can CRIU use arm based runners from Actuated? HOT 1
- CRIU package for Ubuntu 24.04 HOT 9
- "Fedora ASAN Test / build" fails with "cgroup.clone_children: No such file or directory"
- "Cirrus CI / Vagrant Fedora Rawhide based test" fails with error "setenforce: SELinux is disabled" HOT 2
- compel parasite sys_open return -1 always HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from criu.