0

When I access resque-web on my Rails-app running at Heroku, I can see more than 40 workers: enter image description here

I have only 1 resque worker connected to my Heroku account. This worker processes all my queues:

resque: env TERM_CHILD=1 COUNT=1 QUEUE=* bundle exec rake resque:workers

Is there a way I can restrict other peoples workers to interfere with my queue? I'm using the Redislab adon from Heroku.

sampathsris
  • 21,564
  • 12
  • 71
  • 98
martins
  • 9,669
  • 11
  • 57
  • 85

1 Answers1

0

Since your Redis Cloud instance is password-protected, it is unlikely that these are other peoples' workers. I'd venture a guess that they are simply stale (i.e. dead) workers.

Since resque workers register and keep their state in Redis, it is not uncommon that when a worker dies it's state information is kept in Redis. This SO question provided more pointers on how to deal with the situation.

Community
  • 1
  • 1
Itamar Haber
  • 47,336
  • 7
  • 91
  • 117