-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Tasks have lost their wakers #3112
Comments
can you share a project that reproduces the issue? without more details this is a bit hard to debug |
That's probably just because the |
@paolobarbolini Is this correct behavior for this case? |
It might be, but I'm not sure. One thing I'd try doing, since I see you're using an outdated tokio version (1.39.2), is update everything via |
it looks like tokio-console points to https://github.com/tokio-rs/axum/blob/axum-v0.8.0-rc.1/axum/src/serve.rs#L268-L272, and, if I understand correctly, the only waker in this task is the |
To me this seems pretty likely to be when not using graceful shutdown, where internally we use a graceful shutdown future of |
I added graceful shutdown to my project, and it helped eliminate task leaks. |
I think this should also fix it: #3129 |
While monitoring tasks using tokio-console, I see the following issue:
task has lost their wakers: /axum-0.8.0-rc.1/src/serve.rs:268:13
The text was updated successfully, but these errors were encountered: