Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Known issue added to debugging.md #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ This is rather a sign that CRIU has insufficient privileges to write into `ns_la

One trick that can be used in containers is to ensure that before the checkpoint PIDs are higher than anything needed for the restore, either writing `/proc/sys/kernel/ns_last_pid` or cycling dummy processes until `ns_last_pid` is higher than the required value (128 might be a good starting point).

## Multiple Checkpoints

Doing a subsequent checkpoint on a process that has already been checkpointed and restored does not yet work. This is a [known issue](https://github.com/CRaC/docs/issues/21).

## Further debugging of restore

During restore CRIU writes its log into standard output with errors-only verbosity level (1). Debug-level (4) output can be enabled using VM option `-XX:CREngine=criuengine,--verbosity=4,--log-file=/path/to/log.txt` by passing these options to CRIU.