I noticed that one of the limitations due to unprivileged checkpointing is:
Memory mapped files that have been deleted are not supported.
Unfortunately, this appears to be a non-starter for any JVM application using Netty. It seems to immediately copy the .so into /tmp and map it into memory, then deletes it.
Error (criu/proc_parse.c:348): Can't open mapped [/tmp/libnetty_transport_native_epoll_x86_643796318373806122906.so (deleted)]: No such file or directory
Error (criu/proc_parse.c:672): Can't open 1000's mapfile link 7f363e210000: No such file or directory
Error (criu/cr-dump.c:1261): Collect mappings (pid: 1000) failed with -1
Error (criu/cr-dump.c:1779): Dumping FAILED.
tar: Removing leading `/' from member names
[ff.checkpoint] (0.329s) `criu dump --tree 1000 --leave-stopped --empty-ns net --tcp-established --skip-in-flight --tcp-close --ext-unix-sk --images-dir /var/fastfreeze/run --cpu-cap --shell-job --file-locks --file-validation filesize --stream` failed with exit_code=1
Any ideas how I might be able to work around this? Thanks!
I noticed that one of the limitations due to unprivileged checkpointing is:
Unfortunately, this appears to be a non-starter for any JVM application using Netty. It seems to immediately copy the
.sointo/tmpand map it into memory, then deletes it.Any ideas how I might be able to work around this? Thanks!