HangfireIO / HangfireIO/Hangfire

Enqueued jobs not completing?

Open
#756 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

We have multiple sites, each with it's own hangfire database.
Currently, lightweight jobs are taking hours to complete (if they do, not all complete for some reason).
Note: this is a test environment, so builds are done in a daily basis, and sites restarted multiple times a day

My enqueued length currently shows 591 jobs.

![image](https://cloud.githubusercontent.com/assets/4776354/20860529/277052de-b959-11e6-8488-fb0f61a68342.png)

I tried restarting the sites and SQL, to see if they are processed, but the number stays the same.

Could that be that the high number of enqueued jobs is related to them taking so long?

I've been going over the hangfire tables in all our sites, and they show a lot of enqueued jobs.

Thanks

Contributor guide

Open the contributing guide

Research direction

No source file, entry point, or test is named. Start by reproducing the report with multiple sites and separate Hangfire databases, checking the enqueued counts and job behavior during site and SQL restarts. Done means identifying the cause of jobs remaining enqueued and documenting or verifying normal completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.