Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Netflow Traffic Analyzer (NTA) > Corrupted performance counters

Corrupted performance counters

Table of contents

Issue

Corrupted performance counters prevent precise troubleshooting of SolarWinds NetFlow Service or NTA Flow Storage Service.

Cause

Performance counters have been corrupted (initialized as read-only). 

To verify the cause of the issue:

  • Check NTA.BusinessLayer.log or FastBitServerService.log, and if there is the following error message, your service crashes because of corrupted counters.

    ERROR SolarWinds.Orion.NetFlow.Service.Program - NetFlowService will be abnormally terminated - Unhandled exception. System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, Boolean readOnly) at FastbitCLR.PerfCounterSampling.Initialize() at SolarWinds.Netflow.FastBit.Server.Core.FastBitEmbeddedConnection.StartSamplingPerformanceCounters() at SolarWinds.Netflow.FastBit.Server.Api.NTAFastBitServerPlugin.InitializeFastBitDatabase() at SolarWinds.Netflow.FastBit.Server.Api.NTAFastBitServerPlugin.Start() at SolarWinds.Netflow.Processing.AppContext.b__a() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

  • Open Windows Performance Monitor (for example by entering perfmon into the Command Prompt) and navigate to Performance Monitor. In cas of performance counters, an error message displays, such as: "MMC cannot initialize the snap-in performance monitor".

Resolution

You need to reset performance counters. To do so:

  1. Open the Command Prompt using an account with administrator rights.
  2. Change the directory according to your operating system:

    For 32-bit operating systems, type:  c:\windows\system32 

    For 64-bit operating systems, type: cd c:\windows\sysWOW64 
  3. Run lodctr /r.
  4. Restart the appropriate service (SolarWinds NetFlow or NTA Flow Storage service).
Last modified

Tags

Classifications

Public