未验证 提交 d106e55e 编写于 作者: H huangjianhui 提交者: GitHub

Merge branch 'develop' into dev_2

......@@ -16,6 +16,7 @@ import signal
import os
import time
import json
import platform
from paddle_serving_server.env import CONF_HOME
......@@ -91,6 +92,9 @@ def dump_pid_file(portList, model):
dump_pid_file([9494, 10082], 'serve')
'''
pid = os.getpid()
if platform.system() == "Windows":
gid = pid
else:
gid = os.getpgid(pid)
pidInfoList = []
filepath = os.path.join(CONF_HOME, "ProcessInfo.json")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册