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
CPU is busy even when idle #222
Comments
Hi @mazar - thanks for the detailed issue! These numbers are not concerning or abnormally high, and are caused by the new health checks for the various services that were introduced in 0.14.7. |
@cicdw I respectfully disagree! The numbers are concerning for a machine with 4 cores, with absolutely no load, even no agents are connected to it. |
This issue was fixed in |
Hey @mazar -- thank you for following up! I agree that those numbers were not ideal but forgot to reply earlier. I knew I'd bump them higher when I had the time 😄 Glad to hear those commits fixed things up. |
Description
Running
0.14.6
for a few weeks with no issues, I decided to upgrade to0.14.12
. All looks good except CPU is busy even when there is no flow running. This was not the case with0.14.6
. Here is the output fromdocker stats --format "table {{.Name}}\t{{.CPUPerc}}"
And here is the docker version:
And docker-compose version:
Then I upgraded my docker to latest version:
But behavior did not change.
I could not downgrade to previous working version (0.14.6) due to DB migration not allowing downgrade. So I tried on a different machine (Mac laptop) with same docker version (20.10.5).
I upgraded my local Prefect from
0.14.6
to0.14.12
, and high CPU could be observed:And then downgraded to
0.14.6
and CPU looks normal:Expected Behavior
When Prefect is idle (no flows are running), CPU should not be busy, as shown above.
Reproduction
1- Install Prefect
0.14.6
(and maybe other versions?)2- Use
docker stats
to observe CPU usage3- Install Prefect
0.14.12
4- Use
docker stats
to observe CPU usageEnvironment
Problem observed on:
And
The text was updated successfully, but these errors were encountered: