Skip to content

Commit 9578425

Browse files
authored
fix run-clara for macos (#1221)
* higher ports on macos, cleanup process dpe process * remove ineffective pid trap Removed process ID handling and cleanup trap.
1 parent 8fac63d commit 9578425

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/run-clara

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function get_host_ip() {
127127
}
128128
function get_dpe_port() {
129129
local ports
130-
ports=$(seq 7000 20 8000)
130+
ports=$(seq 49152 20 65535)
131131
command -v shuf >/dev/null 2>&1 && ports=$(echo "$ports" | shuf)
132132
for port in $ports
133133
do
@@ -153,7 +153,7 @@ then
153153
--max-sockets 5120 --report 5 \
154154
2>&1 | tee $CLARA_USER_DATA/log/dpe.log &
155155
set +v
156-
#echo "Sleeping 7 ......." && sleep 7
156+
sleep 1
157157
unset JAVA_OPTS
158158
set -v
159159
$CLARA_HOME/bin/clara-orchestrator \

0 commit comments

Comments
 (0)