From a766bf753289b1af672583426f3c83aad8c672fe Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Thu, 23 Apr 2026 18:02:20 -0400 Subject: [PATCH 1/3] higher ports on macos, cleanup process dpe process --- bin/run-clara | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/run-clara b/bin/run-clara index 798ffd6544..15b7f14ca6 100755 --- a/bin/run-clara +++ b/bin/run-clara @@ -127,7 +127,7 @@ function get_host_ip() { } function get_dpe_port() { local ports - ports=$(seq 7000 20 8000) + ports=$(seq 8000 20 9000) command -v shuf >/dev/null 2>&1 && ports=$(echo "$ports" | shuf) for port in $ports do @@ -152,8 +152,10 @@ then --session recon --max-cores $threads \ --max-sockets 5120 --report 5 \ 2>&1 | tee $CLARA_USER_DATA/log/dpe.log & + pid=$! + trap "kill -9 $pid; exit" EXIT set +v - #echo "Sleeping 7 ......." && sleep 7 + sleep 1 unset JAVA_OPTS set -v $CLARA_HOME/bin/clara-orchestrator \ From 9da5921c86fe5d59af50b8449d7f8e191582e9e4 Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Thu, 23 Apr 2026 18:39:56 -0400 Subject: [PATCH 2/3] remove ineffective pid trap Removed process ID handling and cleanup trap. --- bin/run-clara | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/run-clara b/bin/run-clara index 15b7f14ca6..4263f474dd 100755 --- a/bin/run-clara +++ b/bin/run-clara @@ -152,8 +152,6 @@ then --session recon --max-cores $threads \ --max-sockets 5120 --report 5 \ 2>&1 | tee $CLARA_USER_DATA/log/dpe.log & - pid=$! - trap "kill -9 $pid; exit" EXIT set +v sleep 1 unset JAVA_OPTS From a4a8c1d031eb32bbfdb1a05664e8fdd33cb4a8f0 Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Mon, 27 Apr 2026 10:48:21 -0400 Subject: [PATCH 3/3] Apply suggestion from @c-dilks Co-authored-by: Christopher Dilks --- bin/run-clara | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-clara b/bin/run-clara index 4263f474dd..05c0b6b148 100755 --- a/bin/run-clara +++ b/bin/run-clara @@ -127,7 +127,7 @@ function get_host_ip() { } function get_dpe_port() { local ports - ports=$(seq 8000 20 9000) + ports=$(seq 49152 20 65535) command -v shuf >/dev/null 2>&1 && ports=$(echo "$ports" | shuf) for port in $ports do