Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About stopping the server problems #1738

Closed
BeyondYourself opened this issue Mar 29, 2022 · 2 comments
Closed

About stopping the server problems #1738

BeyondYourself opened this issue Mar 29, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BeyondYourself
Copy link
Contributor

在关闭服务的时候,因为是nohup方式启动的,所以最初用了kill -9 XXX的方式
后来用了 python -m paddle_serving_server.serve stop方式进行停止,报下面的异常

/home/beyond/myDL/miniconda3/lib/python3.7/runpy.py:125: RuntimeWarning: 'paddle_serving_server.serve' found in sys.modules after import of package 'paddle_serving_server', but prior to execution of 'paddle_serving_server.serve'; this may result in unpredictable behaviour warn(RuntimeWarning(msg)) Traceback (most recent call last): File "/home/beyond/myDL/miniconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home/beyond/myDL/miniconda3/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/beyond/myDL/miniconda3/lib/python3.7/site-packages/paddle_serving_server/serve.py", line 535, in <module> result = stop_serving(args.server) File "/home/beyond/myDL/miniconda3/lib/python3.7/site-packages/paddle_serving_server/serve.py", line 451, in stop_serving infoList = load_pid_file(filepath) File "/home/beyond/myDL/miniconda3/lib/python3.7/site-packages/paddle_serving_server/util.py", line 123, in load_pid_file "ProcessInfo.json file is not exists, All processes of PaddleServing has been stopped.") ValueError: ProcessInfo.json file is not exists, All processes of PaddleServing has been stopped.

后台服务进程依然在
1648540617(1)

这种情况是不是只能手动Kill 服务了

@TeslaZhao TeslaZhao self-assigned this Mar 29, 2022
@TeslaZhao
Copy link
Collaborator

收到反馈,已经在排查中。

@TeslaZhao TeslaZhao added the bug Something isn't working label Apr 11, 2022
@BeyondYourself
Copy link
Contributor Author

@TeslaZhao 这个问题怎么样了目前

@paddle-bot paddle-bot bot closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants