Skip to content

Is there a way to find out which function block the tokio schedule #410

Answered by hds
attila-lin asked this question in Q&A
Discussion options

You must be logged in to vote

In tokio-console you can see from the poll time which task is blocking (because its busy time keeps going up), but it's not possible to get function level information.

You can use the (unstable) task builder API in tokio to name tasks and thus get a better idea of where the blocking is coming from.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants