Hi,
It seems like when we do scanning it kills my database. I stop scanning and everything is good. I start scanning and I got database connection problems again. Here is an example of an error we see repeated many many times over and over again:
WARN SolarWinds.IPAM.BusinessLayer.Helpers.RealtimeMaintenance (null) - Unhandled Exception during Realtime Maintenance
System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at SolarWinds.Orion.Common.SqlHelper.ExecuteNonQuery(SqlCommand command, SqlConnection connection, SqlTransaction transaction)
at SolarWinds.IPAM.Storage.DAL.IPHistoryDAL.DeleteByRetention(Int32 retentionDays)
at SolarWinds.IPAM.BusinessLayer.Helpers.RealtimeMaintenance.PurgeHistory(SettingDAL DAL)
at SolarWinds.IPAM.BusinessLayer.Helpers.RealtimeMaintenanceWorker.TryDoWork(SettingDAL DAL, Log log)
at SolarWinds.IPAM.BusinessLayer.Helpers.RealtimeMaintenance.<>c__DisplayClass3_0.<DoWork>b__0(RealtimeMaintenanceWorker obj)
ClientConnectionId:7d226dd7-6f07-413d-a8b2-b012aba40155
Error Number:-2,State:0,Class:11
Can anyone tell me why am I getting this? Is it more SQL related? Is it to many jobs flooding the database? I've been trying to basically trace problems from point a to point b and everything in between to try and determine where the problems are. But this one has me stomped. Any help is appreciated.
thanks!