Skip to content

Restore checkpoint fails if stop/start app container with verbosegc log #15858

Description

@tam512

I have an Open Liberty application container that has the following jvm.options.

# cat jvm.options
-verbose:gc
-Xdump:heap
-Xaggressive
-Xverbosegclog:/logs/verbosegc.log,200,10000

If I stop and start the app container, I see the following checkpoint restore failure

CWWKE0957I: Restoring the checkpoint server process failed. Check the /logs/checkpoint/restore.log log to determine why the checkpoint process was not restored. Launching the server without using the checkpoint image. 

The /logs/checkpoint/restore.log shows the following errors

# podman exec -it microwebapp-restore-app cat /logs/checkpoint/restore.log
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
Error (criu/libnetlink.c:84): Can't send request message: Permission denied
   134: Error (criu/files-reg.c:1994): File logs/verbosegc.log.001 has bad size 294611 (expect 250035)
   134: Error (criu/files.c:1200): Unable to open fd=3 id=0x3d
Error (criu/cr-restore.c:1494): 134 exited, status=1
Error (criu/cr-restore.c:2516): Restoring FAILED.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GAcomp:gccriuUsed to track CRIU snapshot related work

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions