Comments (10)
Seem to be Docker issue. @SaiedKazemi , @boucher would you please help here?
from criu.
Which Docker version are you using? Also, what is the container you're running? Can you send us the exact commands on how you started your server and the containers?
from criu.
Docker
Client:
Version: 1.8.0-dev
API version: 1.21
Go version: go1.4.2
Git commit: c74defa-dirty
Built: Wed Aug 5 23:15:11 UTC 2015
OS/Arch: linux/amd64
Experimental: true
Server:
Version: 1.8.0-dev
API version: 1.21
Go version: go1.4.2
Git commit: c74defa-dirty
Built: Wed Aug 5 23:15:11 UTC 2015
OS/Arch: linux/amd64
Experimental: true
I tested in a MySQL and a Postgre SQL (both official) containers. I run:
docker run -d --name <container_name> mysql:5.7
and then the commands that I specified on the first post.
I didn't do anything to start the docker server.
sudo service docker start
(I'm not sure if you asking something else about it)
Thanks for the response..
from criu.
Have you gotten checkpoint/restore to work at all on your system?
Out of curiosity, can I ask what the use case is for pausing the container before checkpointing it?
Also, could you try updating your build of Docker? There have been changes in my checkpoint/restore branch since the git hash shown in this version.
from criu.
Yes C/R is working on my system.
There isn't any use case. I was just messing around and noticed this attitude.. I decide to say it here if you haven't noticed it yet.
I am updating my current build of docker right now and I 'll let you know..
Thanks
from criu.
Ok, thanks for letting us know. I don't actually know much about how docker
pause works, so it will require some looking into.
On Fri, Aug 14, 2015 at 9:20 AM, Kyriakos Lesgidis <[email protected]
wrote:
Yes C/R is working on my system.
There isn't any use case. I was just messing around and noticed this
attitude.. I decide to say it here if you haven't noticed it yet.I am updating my current build of docker right now and I 'll let you know..
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/xemul/criu/issues/20#issuecomment-131167307.
from criu.
@xemul @klesgidis
I just tested pausing (freezing) a shell process and then checkpointing it (i.e., no Docker) and CRIU hung. Here is what I did:
[Terminal A]
/bin/sh -c 'i=0; while true; do echo
[Terminal B]
mkdir /sys/fs/cgroup/freezer/0
ps -efl | grep -w sh
echo 7042 > /sys/fs/cgroup/freezer/0/tasks
echo FROZEN > /sys/fs/cgroup/freezer/0/freezer.state
criu dump -v4 -D /tmp -o dump.log -j -t 7042
[Terminal C]
ps -efl | grep criu
strace -p 6449
Process 6449 attached
wait4(6355,
Unless I am missing something, it seems to be a CRIU issue. Any idea?
from criu.
CRIU can't attach by ptrace() to frozen processes.
Recently, I added the freeze-cgroup option, it should be used for paused containers.
from criu.
@avagin CRIU can attach with ptrace, this is what we do in your patches :) CRIU cannot run parasite in them, but this can be addressed by extending the freeze-seize-unfreeze-run logic you've introduced.
from criu.
from criu.
Related Issues (20)
- Error: unknown flag: --create-image HOT 1
- Checkpoint of a new restored container fails HOT 4
- Criu restore failed when calling lxc-checkpoint HOT 2
- Can't fork for 12: File exists HOT 8
- util.c Unable to mount tmpfs failed restore on AmazonLinux2 ami HOT 22
- [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 1
- docker checkpoint create failed: Error (compel/src/lib/ptrace.c:27): suspending seccomp failed: Operation not permitted HOT 1
- Checkpointing runC container is giving error: Unable to connect a transport socket: Permission denied HOT 5
- How to make parasite code support glibc? HOT 4
- 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 7
- gcc format-truncation warnings on Ubuntu 24.04 HOT 6
- 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 5
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.