From 501ca5766560d891adeb1a3d27dcdba52862f3bc Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Fri, 29 Apr 2016 09:35:44 -0700 Subject: [PATCH] kill pending python workers on start --- tools/run_tests/performance/kill_workers.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/run_tests/performance/kill_workers.sh b/tools/run_tests/performance/kill_workers.sh index 3eae8c31cb6..7a8763424dc 100755 --- a/tools/run_tests/performance/kill_workers.sh +++ b/tools/run_tests/performance/kill_workers.sh @@ -47,5 +47,8 @@ ps -C ruby -o pid=,cmd= | grep 'qps/worker.rb' | awk '{print $1}' | xargs kill - # Node ps -C node -o pid=,cmd= | grep 'performance/worker.js' | awk '{print $1}' | xargs kill -9 +# Python +ps -C python -o pid=,cmd= | grep 'qps_worker.py' | awk '{print $1}' | xargs kill -9 + # Java jps | grep LoadWorker | awk '{print $1}' | xargs kill -9