From 742162ef3f450bcebac6596d8489297ad4876b4f Mon Sep 17 00:00:00 2001 From: lijia Date: Fri, 17 Apr 2020 14:23:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D/tmp/=5FMEIxxx=E5=A4=A7?= =?UTF-8?q?=E9=87=8F=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6=E5=8D=A0=E7=94=A8?= =?UTF-8?q?=E7=A9=BA=E9=97=B4BUG.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/tsg-cli-mcn0/files/tsg-monitor.sh | 4 +++- roles/tsg-cli-mcn1/files/tsg-monitor.sh | 4 +++- roles/tsg-cli-mcn2/files/tsg-monitor.sh | 4 +++- roles/tsg-cli-mcn3/files/tsg-monitor.sh | 4 +++- roles/tsg-cli-mxn/files/tsg-monitor.sh | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/roles/tsg-cli-mcn0/files/tsg-monitor.sh b/roles/tsg-cli-mcn0/files/tsg-monitor.sh index c474424..8bc13c5 100644 --- a/roles/tsg-cli-mcn0/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn0/files/tsg-monitor.sh @@ -17,6 +17,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_monit_protocol_v4 #killall -9 -q tsg_monit_stream_v3 killall -9 -q tsg_monit_stream_v4 + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -80,7 +82,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn1/files/tsg-monitor.sh b/roles/tsg-cli-mcn1/files/tsg-monitor.sh index 21fa970..72c2c83 100644 --- a/roles/tsg-cli-mcn1/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn1/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn2/files/tsg-monitor.sh b/roles/tsg-cli-mcn2/files/tsg-monitor.sh index e702f0d..618f15a 100644 --- a/roles/tsg-cli-mcn2/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn2/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mcn3/files/tsg-monitor.sh b/roles/tsg-cli-mcn3/files/tsg-monitor.sh index 175be7b..e1a1917 100644 --- a/roles/tsg-cli-mcn3/files/tsg-monitor.sh +++ b/roles/tsg-cli-mcn3/files/tsg-monitor.sh @@ -11,6 +11,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_update_tags killall -9 -q tsg_monit_interface killall -9 -q tsg_monit_intercept + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000 diff --git a/roles/tsg-cli-mxn/files/tsg-monitor.sh b/roles/tsg-cli-mxn/files/tsg-monitor.sh index 3943447..2e8e2c4 100644 --- a/roles/tsg-cli-mxn/files/tsg-monitor.sh +++ b/roles/tsg-cli-mxn/files/tsg-monitor.sh @@ -9,6 +9,8 @@ killall_uncompleted_cmd(){ killall -9 -q tsg_cluster_register #killall -9 -q tsg_diagnose_background killall -9 -q tsg_update_tags + + rm -rf /tmp/_MEI* } start_background_cmd(){ @@ -68,7 +70,7 @@ while [ 1 ]; do #echo tsg-monitor start at `date +"%Y/%m/%d, %H:%M:%S.%N"` >> /tmp/tsg-monitor.log start_background_cmd - sleep 10 + sleep 13 killall_uncompleted_cmd sleep_for_time_ms $start_time 15000