Skip to content

Commit ed12ba4

Browse files
rvansaAntonKozlov
authored andcommittedJul 12, 2024
Don't create dump4.log
1 parent 8ba9208 commit ed12ba4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎checkpoint.cmd.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ detect_native_client() {
55
}
66

77
export AWS_NATIVE_CLIENT=$(detect_native_client /function/lib/jni/libaws-lambda-jni.*.so)
8-
export CRAC_CRIU_OPTS="--compress"
8+
# Don't create dump4.log
9+
export CRAC_CRIU_OPTS="--compress -o -"
910

1011
# Ensure small PID, for privileged-less criu to be able to restore PID by bumping.
1112
# But not too small, to avoid clashes with other occasional processes on restore.

‎crac-steps.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ s03_checkpoint() {
7575
}
7676

7777
s04_prepare_restore() {
78-
sudo rm -f cr/dump4.log # XXX
7978
docker build -t crac-lambda-restore -f Dockerfile.restore .
8079
}
8180

@@ -155,7 +154,7 @@ s08_invoke_aws() {
155154
response.json \
156155
> log.json
157156

158-
jq . < response.json
157+
jq . < response.json
159158
jq -r .LogResult < log.json | base64 -d
160159
}
161160

0 commit comments

Comments
 (0)
Please sign in to comment.