-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Server healthchecks create curl zombies #4114
Server healthchecks create curl zombies #4114
Comments
Thanks for the thorough report @jschnare! |
I can confirm that. Host falls over within a few hours. |
We are working on a fix for this, it'll be in the next release. |
Have the same situation.
Confirming that it's zombie curl processes, like these:
|
Hi @madkinsz, |
You can run |
Ha! Just stumbling on this issue, I was having the same problem (got almost locked out of my server...). * * * * * parents_of_dead_kids=$(ps -ef | grep [d]efunct | awk '{print $3}' | sort | uniq | egrep -v '^1$'); echo "$parents_of_dead_kids" | xargs kill |
This should now be resolved in https://github.com/PrefectHQ/prefect/releases/tag/0.14.10 |
This is resolved thanks! I have now around 24 pids for Apollo and 21 for GraphQL and they are not growing 🤞 |
Description
When I run the local server I get zombie curl processes, about 3 per second. They get cleaned up when I stop the server.
I suspect that it's the health checks added in #4041.
#2418 refers to running the agent under tini, which should fix the server containers as well.
Expected Behavior
Containers shouldn't generate zombie processes. Given enough time they'll fill the host's process list.
Reproduction
Environment
The text was updated successfully, but these errors were encountered: