I have 65 servers started. How do I programmatically kill them?

When I go to my dashboard, http://localhost/hangfire it says I have 65 servers. Not sure how I have that many but how can I kill them?

Sounds like the same question from @Daus_San, How do I make sure only 1 Hangfire Server is running? , but no answer there, either.


You can see list of servers using next query:
SELECT [Id], [Data], [LastHeartbeat] FROM [Your_DB_Name_Here].[HangFire].[Server]
and then manually delete redundant or all of them and recycle app pool on IIS - Hangfire create new server on start.

1 Like