Submit a ticketCall us

AnnouncementsWeb Help Desk Integrations eCourse

Looking to reduce response times? Sign up for our eCourse to learn how integrating Web Help Desk with Dameware Remote Support, Network Configuration Manager, Network Performance Monitor, and Server & Application Monitor can improve communication efficiencies.

Register here.

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

Corrupted performance counters

Table of contents

Updated March 28, 2018

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 case of performance counters, an error message is displayed, such as: "MMC cannot initialize the snap-in performance monitor".

Resolution

To reset performance counters and resolve the issue, follow the steps below:

  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