From 63dee100c55c962d3af57d5230e3c05ee168d70b Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 8 Sep 2023 12:19:48 -0500 Subject: [PATCH] Bump PID used for checkpoint to be > 1000 Some environments cause higher PIDs to be used in the container than 100 which leads to potential conflicts in the PID needed to restore. This change increases the checkpoint PID to be > 1000. More investigation is needed to do this efficiently. If a more efficient way is found then we may want to increase this to a higher PID value. To avoid long delays during a checkpoint the value of 1000 is being used for now. --- releases/23.0.0.9/full/helpers/build/checkpoint.sh | 4 ++-- releases/23.0.0.9/kernel-slim/helpers/build/checkpoint.sh | 4 ++-- releases/latest/beta/helpers/build/checkpoint.sh | 4 ++-- releases/latest/full/helpers/build/checkpoint.sh | 4 ++-- releases/latest/kernel-slim/helpers/build/checkpoint.sh | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/releases/23.0.0.9/full/helpers/build/checkpoint.sh b/releases/23.0.0.9/full/helpers/build/checkpoint.sh index 7720e1c0a..41e64203d 100755 --- a/releases/23.0.0.9/full/helpers/build/checkpoint.sh +++ b/releases/23.0.0.9/full/helpers/build/checkpoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -# hack to bump up the pid by 100 -for i in {1..100} +# hack to bump up the pid by 1000 +for i in {1..1000} do pidplus.sh done diff --git a/releases/23.0.0.9/kernel-slim/helpers/build/checkpoint.sh b/releases/23.0.0.9/kernel-slim/helpers/build/checkpoint.sh index 7720e1c0a..41e64203d 100755 --- a/releases/23.0.0.9/kernel-slim/helpers/build/checkpoint.sh +++ b/releases/23.0.0.9/kernel-slim/helpers/build/checkpoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -# hack to bump up the pid by 100 -for i in {1..100} +# hack to bump up the pid by 1000 +for i in {1..1000} do pidplus.sh done diff --git a/releases/latest/beta/helpers/build/checkpoint.sh b/releases/latest/beta/helpers/build/checkpoint.sh index 7720e1c0a..41e64203d 100755 --- a/releases/latest/beta/helpers/build/checkpoint.sh +++ b/releases/latest/beta/helpers/build/checkpoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -# hack to bump up the pid by 100 -for i in {1..100} +# hack to bump up the pid by 1000 +for i in {1..1000} do pidplus.sh done diff --git a/releases/latest/full/helpers/build/checkpoint.sh b/releases/latest/full/helpers/build/checkpoint.sh index 7720e1c0a..41e64203d 100755 --- a/releases/latest/full/helpers/build/checkpoint.sh +++ b/releases/latest/full/helpers/build/checkpoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -# hack to bump up the pid by 100 -for i in {1..100} +# hack to bump up the pid by 1000 +for i in {1..1000} do pidplus.sh done diff --git a/releases/latest/kernel-slim/helpers/build/checkpoint.sh b/releases/latest/kernel-slim/helpers/build/checkpoint.sh index 7720e1c0a..41e64203d 100755 --- a/releases/latest/kernel-slim/helpers/build/checkpoint.sh +++ b/releases/latest/kernel-slim/helpers/build/checkpoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -# hack to bump up the pid by 100 -for i in {1..100} +# hack to bump up the pid by 1000 +for i in {1..1000} do pidplus.sh done