mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[GH-ISSUE #212] Hang up for a long time and enter failed in about half an hour #50
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tinnkai on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/212
How to solve this situation? Thank you.

@hibiken commented on GitHub (Feb 4, 2022):
@tinnkai thank you for opening an issue!
Would you mind showing the output of
@tinnkai commented on GitHub (Feb 5, 2022):
@hibiken

It may be caused by the direct shutdown of the service while the queue is being processed,But what I expect can I keep the failure queue and then I can do it manually.
thank you
@tinnkai commented on GitHub (Feb 5, 2022):
@hibiken

Sorry, I misunderstood. Processed includes the number of failed and successful, that is, entering failed will retry
@hibiken commented on GitHub (Feb 5, 2022):
@tinnkai Thanks for providing additional info!
I think initial confusion around task being stuck in "active" state is due to how the task recovery works currently when a worker crashes (or forced killed
kill -9). Currently, asynq recovers task if its deadline has expired over 30s ago, but we have an open issue to improve this by recovering these orphaned tasks more quickly (https://github.com/hibiken/asynq/issues/334).