Job stalled more than max Stalled Count

Hey @Andrey_Sudnik

This error comes from Bull, the library we use to handle the queue.

There is an explanation about Stalled jobs that can be found here: Welcome to Bull’s Guide | Premium Queue package for handling distributed jobs and messages in NodeJS..

This may come from 2 possible reasons:

  1. You are executing a workflow that runs for too long, with cpu intensive work causing the event loop to be too busy so that it’s not responding back to bull or
  2. You workers are overwhelmed with things to run, effectively causing the same issue as above, but instead of a single cpu intensive job, there are multiple

I would suggest checking your worker’s health and perhaps increasing the count.

1 Like