towhee
towhee copied to clipboard
[Bug]: use pipeline, when the python program works for a while, the process hang on, the process exist, and has no exception. But client cannot access the interface anymore
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
I use pipeline found another issue, when the python program works a while, the process hang on, the process exist, and has no exception. But client cannot access the interface anymore.
There is no
_end_op ends with status: RunnerStatus.FINISHED, graph_context.py-graph_context:136 - INFO: Graph 25872 end., so I think why the program hangs on...
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93):0.6.1
- OS(Ubuntu or CentOS):CentOS
- CPU/Memory:
- GPU:GeForce RTX 3090
- Others:
Anything else?
No response
if the problem occurs again, please use stack
or pstrace
to find where the process hangs. I have run the pipeline 1000000 times, but the problem has not occurred.
I use strace found
cat /proc/142637/stack
@junjiejiangjjj
Any other infos? the stack is very similar to this https://stackoverflow.com/questions/68125101/python-multiprocessing-getting-stuck maybe because of multiprocessing.
I raise up the single python process separately, within single python process, there is no multiprocessing.
@angelapytao were you ever able to resolve your issue?
@fzliu still exist. occasionally happened.
![image](https://user-images.githubusercontent.com/5369411/187011696-7b6c8ff7-2c41-4001-986f-27d62b873103.png)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen
.