[GH-ISSUE #793] When used together with the grpc service, grpc cannot exit normally. #1403

Closed
opened 2026-03-07 22:09:14 +03:00 by kerem · 1 comment
Owner

Originally created by @kangbingbing on GitHub (Dec 4, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/793

Originally assigned to: @hibiken on GitHub.

First, I have a grpc service, and then after introducing the asynq library, the use is normal, but when I stop the program, asynq seems to have stopped normally, but the grpc service cannot exit normally. If it is started again, it will prompt the 50001 port is occupied. I have to kill port 50001 before I can start the program again. Have you encountered similar problems again? How to solve them?

Originally created by @kangbingbing on GitHub (Dec 4, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/793 Originally assigned to: @hibiken on GitHub. First, I have a grpc service, and then after introducing the asynq library, the use is normal, but when I stop the program, asynq seems to have stopped normally, but the grpc service cannot exit normally. If it is started again, it will prompt the 50001 port is occupied. I have to kill port 50001 before I can start the program again. Have you encountered similar problems again? How to solve them?
kerem 2026-03-07 22:09:14 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@kamikazechaser commented on GitHub (Dec 5, 2023):

This is a Go related question around correctly setting up signals and goroutines. I suggest asking this in other forums.

<!-- gh-comment-id:1840109707 --> @kamikazechaser commented on GitHub (Dec 5, 2023): This is a Go related question around correctly setting up signals and goroutines. I suggest asking this in other forums.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1403
No description provided.