question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RedisLabs Users] Lots of Inactive Jobs

See original GitHub issue

Hello - we have Kue running on an ElasticBeanstalk on AWS and connected to a 500MB Redis instance on Rediscloud - webservers are connected from Heroku. It’s set up with Redis Version Compliance 3.0.3.

Here’s how I have the connection set up.

jobs = kue.createQueue({
    redis:
        port: 18147
        host: "XXX.us-east-1-4.1.ec2.garantiadata.com"
        auth: "MyPassword"
    })

When I first deployed it, kue was processing the jobs perfectly. However, since deploying this we are seeing lots of jobs not even get processed and go right to inactive. They haven’t even been attempted to be processed. I looked at the other issues about inactive jobs but none seem to have applied. Does anyone know why these jobs are going direct to inactive and not failed/delayed? Let me know if I can provide any more information. Thanks

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:39

github_iconTop GitHub Comments

1reaction
peterporfycommented, Mar 18, 2016

@jurgen7777 I don’t synchronize between processes but a different process will have a different connection and so the blpop issue won’t affect it. It is only to ensure that one connection is doing one blpop. Pretty much the same what you did in your PR. I tested it with 3-4 node processes with the test above. Btw @ghost is me too here I just merged my accounts. 😃

0reactions
tomandersencommented, Feb 7, 2018

We had this issue with a kue on Heroku running about 10,000 events per day with RedisCloud we had delayed and other events going to inactive for up to 30 mins. It was fixed for us by adding watchStuckJobs() right after we created the Queue. It would be nice to see this bug fixed!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Careers | Redis
Join Redis for a unique opportunity to succeed, grow, develop and achieve your personal goals. View open positions and apply today!
Read more >
Manage users | Redis Documentation Center
Redis Enterprise supports the following user account security settings: Password complexity; Password expiration; User lockouts; Account inactivity timeout ...
Read more >
Redis Enterprise for Kubernetes Now Supports Flash Memory
However, with RoF the inactive data (also called “the warm values”) are moved to the lower tier, the local Flash storage tier.
Read more >
Memory Optimization for Redis | Redis Documentation Center
Looking at the difference you can clearly point out that lot of memory is still ... You can set up a cron job...
Read more >
Passwords, users, and roles | Redis Documentation Center
For example, you can provide read-only access to an application whose only job is to display Redis data. Similarly, you can prevent new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found