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

zombie processes #61

Open
shnuwl opened this issue Sep 23, 2019 · 1 comment
Open

zombie processes #61

shnuwl opened this issue Sep 23, 2019 · 1 comment

Comments

@shnuwl
Copy link

shnuwl commented Sep 23, 2019

I used timeout-decorator in Django.
When timeout event occurs, I have seen an exception thrown in the server background log. However, I can see that the API request is still pending and the response is empty through chrome.
I solved the problem by adding self.__process.join() after line 155 of timeout-decorator.py.
Please refer to thehttps://stackoverflow.com/questions/20960740/python-multiprocessing-why-is-process-defunct-after-terminate/20960917?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

@bitranox
Copy link

can You please try the wrapt_timeout_decorator and tell me if You have the same problems with it - please let me know.
https://github.com/bitranox/wrapt_timeout_decorator

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