From 12418d757568a25ce713099f1a83f3ff6d5afb73 Mon Sep 17 00:00:00 2001 From: "koo.taejin" Date: Fri, 19 Jun 2015 11:00:10 +0900 Subject: [PATCH] Optimize udp efficiency. #286 change number of collector's validation udp. --- quickstart/bin/start-collector.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/bin/start-collector.sh b/quickstart/bin/start-collector.sh index 093493a30..898bc0be9 100755 --- a/quickstart/bin/start-collector.sh +++ b/quickstart/bin/start-collector.sh @@ -130,7 +130,7 @@ function func_check_running_pinpoint_collector process_udp_port_num=`netstat -anp 2>/dev/null | grep $pid/java | grep udp | wc -l ` fi - if [[ $main_port_num -eq 1 && $process_tcp_port_num -ge 2 && $process_udp_port_num -eq 2 ]]; then + if [[ $main_port_num -eq 1 && $process_tcp_port_num -ge 2 && $process_udp_port_num -ge 2 ]]; then echo "true" else echo "false"