-
Hi, in a complex system, I encounter some futures are never scheduled, and would need suggestion how to troubleshoot such issue.
I wonder if there is tools or guide how to troubleshoot such issue |
Beta Was this translation helpful? Give feedback.
Answered by
Darksonn
Aug 27, 2024
Replies: 1 comment 5 replies
-
I've heard people ask for help with very similar symptoms before, and the most common cause is that some task on the runtime is blocking the thread. You can diagnose this using Tokio console by looking for tasks where:
If you have a task like that, then that is probably the cause. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
gftea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've heard people ask for help with very similar symptoms before, and the most common cause is that some task on the runtime is blocking the thread. You can diagnose this using Tokio console by looking for tasks where:
If you have a task like that, then that is probably the cause.