Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Performance Monitor (NPM) > 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 MindTouch on Jun 23, 2016

Views: 263 Votes: 0 Revisions: 2

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
  • APM version 4.0 or later

 

Detail

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

2010-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: C:\ProgramData\SolarWinds\

 

 

Last modified
21:45, 22 Jun 2016

Tags

Classifications

Public