Replies: 1 comment 4 replies
-
I don't think there is an ideal solution for this -- you cannot change timens offsets as soon as any program is forked inside the timens. It is possible for a process to get frozen and thawed and experience the same behaviour, so this isn't criu-specific. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I find that criu will restore container in a new time namespace, which can make sure the container's process can see the same monotonic time between checkpoint and restore process.
However, from container's view, there are two api include CreateContainer and StartContainer, we call criu restore to restore container's time ns in CreateContainer, but when we call StartContainer, the time ns has already move forward for a while. It means, after container restore, The time must have moved forward slightly from when the dump was performed.
This time shift might cause anomalies in container processes. How do you perceive this change? Are there any viable solutions?
@adrianreber
Beta Was this translation helpful? Give feedback.
All reactions