AHSCollector.exe crashes every 5 minutes

  • KM03636501
  • 27-Apr-2020
  • 19-Apr-2021

Summary

On Windows Nodes AHSCollector.exe crashes every 5 minutes provoking an "Event 1000, Application Error" on the Event Viewer logs

Error

Every 5 minutes the AHSCollector.exe crashes showing a fault message from Windows Event log (application)

----------------------------------------------------------------------
Event 1000, Application Error

General Tab - 

Faulting application name: AHSCollector.exe, version: 12.5.6.0, time stamp: ...
Faulting module name: MSVCR100.dll, version: 10.0.40219.455, time stamp: ...
Exception code: 0x40000015
Fault offset: 0x00000000076269
Faulting process id: 0x25cc
Faulting application start time: ...
Faulting application path: C:\....\AHSCollector.exe
Faulting module path: C:\Windows\system32\MSVCR100.dll
Report Id: ... 
----------------------------------------------------------------------

Cause

The folder %ovdatadir%tmp\OpC contains blank files which start with err* and out* which should be automatically delete after every execution of AHSCollector.exe

Fix

1.    Run the following command: ovc -kill

2.    Go to the following location: %ovagentdir%tmp\public\OpC

a.    Remove all files from above path, these are temp files and they will be recreated again if needed.

3.    Go to the following location: %ovagentdir%tmp\OpC

a.    In this folder remove all the files which starts with err* and out*. (Please make sure that no other files are removed.)
(Eg: errDC0.tmp, out20E5.tmp, err6FC4.tmp, outA20.tmp)

4.    Restart the services with: opcagt -cleanstart


5.    Execute the command “%ovinstalldir%bin\AHSCollector.exe” from command line and check whether AHSCollector crashes or not.