jina-ai / dalle-flow

🌊 A Human-in-the-Loop workflow for creating HD images from text
grpcs://dalle-flow.dev.jina.ai
2.83k stars 209 forks source link

how to exit jina flow #155

Open thewholeworld opened 3 months ago

thewholeworld commented 3 months ago

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 commented 2 months ago

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

thewholeworld commented 1 month ago

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.