Closed mikedhanson closed 2 weeks ago
Is this the same problem as #3844?
I am not sure. I dont have that many jobs in the queue
Those queues are both incorrect btw. Neither one of those queues are active compuuters.
Yeah. That doesn't look busy at all. You could try to increase the connection timeout or max pool size via the connection string to see if it works around the issue, but I worry a SQL connection is leaking and causing this.
I ended up deleting everything out of the tables for [HangFire].[Job] and [HangFire].[JobQueue]
Ill keep you posted if this happens again and i can also try and get a memory dump if that would help.
This keeps happening. Should I open a support ticket?
Application: Universal.Server.exe
CoreCLR Version: 7.0.222.60605
.NET Version: 7.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource
1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
Please. I haven't been able to reproduce this at all and I think we need to look at your environment.
Submitted
Closing this for now as I believe I have a resolution to the crashing issue. That said, let's keep an eye on this after v4.5.0 to ensure it's stable.
Version
4.4.1
Severity
Critical
Environment
msi
Steps to Reproduce
I am experiencing random crashes randomly throughout the night. I dont have any jobs scheduled during that time frame so im kind of stuck on why the service is crashing.
I am using sql hosted in azure if that matters.
Expected behavior
Actual behavior
Additional Environment data
No response
Screenshots/Animations
No response