Submit a ticketCall us

WebinarFREE IT Monitoring Webcast

Don’t miss out on our webcast, Essential IT Monitoring with SolarWinds ipMonitor, where we will show you how to keep an eye on your IT environment from one centralized, affordable, and lightweight monitoring tool: SolarWinds® ipMonitor®.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Anti-virus file locking causes SolarWinds Job Engine v2 services to stop and restart, causing delayed polling and gaps in data

Anti-virus file locking causes SolarWinds Job Engine v2 services to stop and restart, causing delayed polling and gaps in data

Table of contents
Created by Aileen de Lara_ret, last modified by carolyn.mazenko on Aug 16, 2018

Views: 4,547 Votes: 0 Revisions: 4

Overview

Anti-virus programs may lock files used by the SolarWinds Job Engine v2 during scanning. This can cause the SolarWinds Job Engine v2 services to stop and restart, causing delayed polling and gaps in data for a poll cycle.

Environment

  • NPM version 10.1 or later
  • SAM 6.2 or later

Detail

An exception similar to the following is logged when the SolarWinds Job Engine v2 crashes due to the locked files:

2017-11-22 09:15:50,572 [ResultDispatcher] FATAL SolarWinds.JobEngine.Scheduling.ResultDispatcher - Unexpected exception on result dispatcher thread

 

System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Solarwinds\JobEngine.v2\SchedulerResults\10566979-1461-4478-8adc-8363f8f61c0e.result' is denied.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.File.Delete(String path)

   at SolarWinds.JobEngine.PersistentResultStore.DeleteJobResult(Guid jobId)

   at SolarWinds.JobEngine.Scheduling.ResultDispatcher.DeleteJobResults(List1 results, Boolean expiredResults)

   at SolarWinds.JobEngine.Scheduling.ResultDispatcher.DispatchJobResults()

   at SolarWinds.JobEngine.Scheduling.ResultDispatcher.DispatcherThreadMain()

 

When the SolarWinds Job Engine v2 services restart, an event is generated in the Windows Logs/Application section of the Event Viewer.

To avoid the issues caused by anti-virus file locking, SolarWinds recommends that you exclude the following Orion data directory (depending on your Windows platform) from your anti-virus scanning to improve performance and stability:

  • For Windows XP/Server 2003: C:\Documents and Settings\All Users\Application Data\SolarWinds\
  • For Windows Vista/7/Server 2008/2012/2016: C:\ProgramData\SolarWinds\

 

 

Last modified

Tags

Classifications

Public