3 Replies Latest reply on Jun 26, 2018 2:29 PM by neomatrix1217

    SoalrWinds Trap Service stops and starts randomly.

    cheiden

      Hello All,

      I just started working with SolarWinds and I was asked to look into an issue with the SolarWinds Trap Service stopping and starting randomly. The environment currently looks like this, Orion Platform 2017.1.3 SP3, NPM 12.1, QoE 2.3, VIM 7.0.0, NetPath 1.1.0. There are a few KB articles regarding this. The article suggests that I check the the Trap Service and make sure that it's the only service that is using port 161. I've verified and it is.

       

       

      I'm currently looking into the TrapService.log file and this is what I'm seeing.

       

      C:\ProgramData\Solarwinds\Logs\Orion\TrapService.log.1

      *** Assembly SolarWinds.Net.SNMP, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

      *** Assembly SolarWinds.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

      *** Assembly SolarWinds.Orion.Core.Collector.MessageSender, Version=2017.1.5300.1698, Culture=neutral, PublicKeyToken=null, .NET version v4.0.30319 ***

      2018-06-25 12:57:35,384 [1166] ERROR Main - SendRequest Error: Exception of type 'System.OutOfMemoryException' was thrown.

      2018-06-25 12:57:35,384 [1166] ERROR Main - SNMPManager::InternalQuery() unable to send request

      2018-06-25 12:57:35,384 [206] ERROR Main - SendRequest Error: Exception of type 'System.OutOfMemoryException' was thrown.

      2018-06-25 12:57:35,384 [206] ERROR Main - SNMPManager::InternalQuery() unable to send request

      2018-06-25 12:57:35,384 [327] ERROR TrapService.OID - Error retrieving OID!

      System.Data.OleDb.OleDbException (0x80004005): System resource exceeded.

         at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)

         at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)

         at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleRow(tagDBPARAMS dbParams, Object& executeResult)

         at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)

         at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)

         at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)

         at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)

         at TrapService.MibDbHelper.GetOIDFromDB(String oidString, String oriOid)

         at TrapService.OID.RetrieveOID(String oidString)

       

       

      The Windows logs also show an error regarding the TrapService...

       

      APPLICATION LOG

      Faulting application name: SWTrapService.exe, version: 2017.1.5300.1698, time stamp: 0x58ac46a9

      Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000

      Exception code: 0xc0000005

      Fault offset: 0x00e6f2cf

      Faulting process id: 0x5cfc

      Faulting application start time: 0x01d40cc0fc09615d

      Faulting application path: C:\Program Files (x86)\SolarWinds\Orion\SWTrapService.exe

      Faulting module path: unknown

      Report Id: c7152603-78b4-11e8-90a6-005056b530a1

       

      SYSTEM LOG

      The SolarWinds Trap Service service terminated unexpectedly.  It has done this 300 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.

       

      Rebooting the server as well as manually stopping and starting the service hasn't resolved the issue.

       

      I already have a case open with SolarWinds support; however, I've heard great things about this community and I wanted to reach out here and start to become an active member.

       

      Thanks in advance for any insight.

       

      P.S. This is my first time posting and I'm not sure if I've posted in the correct place. If I haven't, please advise where to post. Thanks again.