-
Notifications
You must be signed in to change notification settings - Fork 407
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
[Bug]: Workers suddenly stopped processing jobs on AWS memorydb #2757
Comments
Unfortunately there is not a lot for us to go for with this information... are there jobs in the wait list, or delayed, are all the expected workers actually online? |
The jobs are not delayed ones, so they should be in the wait list.
Is there a simple way I can check this? Also what is the reason for which they can go offline? |
Could you please verify that this is the case, as "should" here seems to imply you do not know for sure...
You can use Taskforce.sh or any other frontend to check which workers are online for a given queue. |
Yeah, as soon we will face the same issue I will check it
Sadly I use AWS MemoryDB and it is not possible to connect it outside AWS resources, I am thinking about writing a little script that use Also, I took a look again at the docs and found out about the listener for the I will add it and check again. |
I can confirm they are in the waiting status |
hey @nullndr could you connection to your redis instances and executed monitor, let us know which commands are executing while waiting jobs are not processed |
@roggervalf I will try, in the meantime I downgraded to |
This scenario is very common, if you Redis instance is isolated you should use the Taskforce connector: https://github.com/taskforcesh/taskforce-connector You can use getWorkers as you mention to get the list of online workers. |
And the workers are idling and online? |
I have been able to connect my AWS memorydb to taskforce.sh, but the dashboard shows no workers in any queue. I think this is because I have missing the |
It could also be that MemoryDB does not implement this command: https://redis.io/docs/latest/commands/client-setname/ but I could not find in the documentation of MemoryDB that this is not the case. |
Version
5.12.12
Platform
NodeJS
What happened?
I was using bullmq 5.6 where I suffered the issue #2466.
After upgrading to 5.12 some workers suddenly stop processing jobs, actually I think they got stuck since I was unable to gracefully shut them down with the following code that works flawless in 5.6:
My configs for the queues, workers and flows are the following:
The sudden stop of processing them can be easily seen in the memorydb metrics:
Please tell me how can I provide you more usefull informations.
The text was updated successfully, but these errors were encountered: