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

bug: zombie process for running service #4193

Open
oppokui opened this issue Sep 15, 2023 · 3 comments
Open

bug: zombie process for running service #4193

oppokui opened this issue Sep 15, 2023 · 3 comments

Comments

@oppokui
Copy link

oppokui commented Sep 15, 2023

Describe the bug

When I run "openllm start xxx" to play with it, I can easily use crtl+C to stop it, no http server left.
But once I want to start a backend process by "nohup openllm start llama 2>&1 &", I will lose the control of backend process. It will launch the server as well as lot of http server (per core) at backend. When I kill the main process, those http listener process will be still alive, controlled by some circusd. I am frustrating about it. Everytime I need to reboot OS to restore the env.

How to make the server easy to stop?

To reproduce

No response

Logs

No response

Environment

openllm, 0.3.3 (compiled: no)
Python (CPython) 3.10.4

System information (Optional)

No response

@aarnphm
Copy link
Contributor

aarnphm commented Sep 15, 2023

Ye, so we definitely want to improve on this

you can do

pgrep circusd | xargs kill -9

@aarnphm
Copy link
Contributor

aarnphm commented Sep 15, 2023

Will translate to bentoml since this is mainly on BentoML improvement

@aarnphm aarnphm transferred this issue from bentoml/OpenLLM Sep 15, 2023
@aarnphm aarnphm changed the title bug: How to stop openllm start process bug: zombie process for running service Sep 15, 2023
@sauyon
Copy link
Contributor

sauyon commented Sep 15, 2023

I would advise against running kill 9 as a rule. How are you terminating the processes normally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants