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

how to exit jina flow #155

Open
thewholeworld opened this issue Apr 7, 2024 · 2 comments
Open

how to exit jina flow #155

thewholeworld opened this issue Apr 7, 2024 · 2 comments

Comments

@thewholeworld
Copy link

thewholeworld commented Apr 7, 2024

python version 3.10
jina 3.24.1
In the Docker image, I started a Jina flow using Nohup. I tried to use PS to find its process ID and kill it, but it didn't work. How can I solve this problem?
`root@nvidia:/data# ps aux | grep jina | grep -v grep | head -n 1 | awk '{print $2}' | xargs kill -9
image

@JoanFM
Copy link
Member

JoanFM commented Apr 8, 2024

how did u start the process? here u should try to kill the root process.

@thewholeworld
Copy link
Author

command: nohup jina flow --uses flow_module/flow.yml > jina.log 2>&1 &
I tried to kill the process, but a zombie process appeared。
Now I have tried using other tools to manage startup and shutdown, which can achieve the desired effect.

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

2 participants