From 74ca3c705cc79897741f04aa65196bfa759a60ff Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 8 Sep 2023 13:47: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. --- ga/23.0.0.9/kernel/helpers/build/checkpoint.sh | 4 ++-- ga/latest/kernel/helpers/build/checkpoint.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ga/23.0.0.9/kernel/helpers/build/checkpoint.sh b/ga/23.0.0.9/kernel/helpers/build/checkpoint.sh index 8a677ea58..58d5293b5 100755 --- a/ga/23.0.0.9/kernel/helpers/build/checkpoint.sh +++ b/ga/23.0.0.9/kernel/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/ga/latest/kernel/helpers/build/checkpoint.sh b/ga/latest/kernel/helpers/build/checkpoint.sh index 8a677ea58..58d5293b5 100755 --- a/ga/latest/kernel/helpers/build/checkpoint.sh +++ b/ga/latest/kernel/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