diff --git a/tools/serving_build.sh b/tools/serving_build.sh index 8a345094f43d7501aae6e50aa0f6321495e28c90..99696ca7bf6a24f3df363bb444386e4b98fb4018 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -827,10 +827,6 @@ EOF ps -ef | grep "pipeline_server" | grep -v grep | awk '{print $2}' | xargs kill kill_process_by_port 18080 - kill_server_process - kill_process_by_port 9292 - kill_process_by_port 9393 - # test: process servicer & thread op pip uninstall grpcio -y pip install grpcio --no-binary=grpcio @@ -850,6 +846,10 @@ EOF ps -ef | grep "pipeline_server" | grep -v grep | awk '{print $2}' | xargs kill kill_process_by_port 18080 + kill_server_process + kill_process_by_port 9292 + kill_process_by_port 9393 + # start paddle serving service (grpc) python -m paddle_serving_server.serve --model imdb_cnn_model --port 9292 --use_multilang --workdir test9292 &> cnn.log & python -m paddle_serving_server.serve --model imdb_bow_model --port 9393 --use_multilang --workdir test9393 &> bow.log &