IBM Support

SQL agent causes faulting application koqos.exe message in the event log

Technote (troubleshooting)


ITCAM for Microsoft Applications - SQL Server monitoring agent - Event log floods with application error messages from faulting application koqos.exe.


Event log shows following event:

Faulting application koqos.exe virsion time stamp <hex>,
faulting module koqos.exe, version, time stamp <hex>, exception
code 0xc0000005, fault offset...


Some performance counters required by the monitoring agent may have been disabled.

Diagnosing the problem

Check if Operating System and Process performance counter services are disabled. These correspond to perfos.dll and perfproc.dll.

For example, on Windows 2008, use following commands to check status of these performance services.


LODCTR /Q:PerfProc

Resolving the problem

If any of the performance services (PerfOS, PerfProc) are found disabled, then enable the services.

For example, following shows that performance counter service for process is disabled:
C:\Windows>LODCTR /Q:PerfProc
Performance Counter ID Queries [PERFLIB]:
[PerfProc] Performance Counters (Disabled)
DLL Name: %SystemRoot%\System32\perfproc.dll

Enable the service as follows:

LODCTR /E:PerfProc

Query to ensure that it is now enabled:

C:\Windows>LODCTR /Q:PerfProc

Performance Counter ID Queries [PERFLIB]:
[PerfProc] Performance Counters (Enabled)
DLL Name: %SystemRoot%\System32\perfproc.dll

Document information

More support for: Tivoli Composite Application Manager for Microsoft Applications
Microsoft SQL Server Agent - 5724B96MO

Software version: 6.3.0, 6.3.1

Operating system(s): Windows

Reference #: 1614693

Modified date: 29 December 2015

Translate this page: