How to Troubleshoot a CCS Query or CCS Data Collection Job that is hanging
search cancel

How to Troubleshoot a CCS Query or CCS Data Collection Job that is hanging

book

Article ID: 226915

calendar_today

Updated On:

Products

Control Compliance Suite Standards Server Control Compliance Suite Control Compliance Suite Standards Module

Issue/Introduction

Control Compliance Suite (CCS)

When running a CCS Query job or data collection, and it is not completing and it seems to be hung.

Environment

Release : 12.6.X

Cause

It could be the scope of the Query or the CCS Job, or it can be just a lot of data that is being collected making it appear that the job is hung.

Or could be a CCS Manager that is having problems.

Resolution

Enable Job Traceability to help identify the CCS Manager(s) doing the collection.  Can get details if the threads for the Manager are obsolete or not.

Job traceability

Dumping a job trace

Option is available in CCS console’s jobs view to dump trace for an executing job. However, the option is not enabled by default. Following steps needs to be done to enable the option:

  • In the CCS Console folder take a back up of this file, then open <InstallDir>\Applications\jobs\jobs.monitor.application.xml
    • To find the CCS Console folder, open Task Manager à go to SymConsole.exe process à select ‘Open File Location’
  • Edit the "jobs.monitor.application.xml" search for keyword ‘Traceability’ and uncommented the specified XML tags below (There are two tags to be uncommented)
  • Tags are <!-- and -->. Just move the --> tag up to the end of the line with <!--

  • Search for the second tag and make the same change.
  • Save the file and relaunch the console
  • The traceability option will then be available under 3 dot menu in the jobs view in the Console.

The job trace is dumped as an HTML/XML. The required data is present in a hierarchical way i.e. job can be traced from APS to DPS to WorkerProcess or parent job to child job. Traceability to the agent is not covered.

The trace is available only for running jobs\sub-jobs and not for completed jobs\sub-jobs.

Once the option is enabled in the console the trace can be dumped for the selected job or all running jobs. Use the 3 dots dropdown menu from the Jobs workspace to access the "Trace running jobs" option.
If the job is not showing up just select the option to dump all jobs.

Additional Information

NOTE: When in the Job workspace if you press the Alt key on the keyboard it will reveal a traditional file menu at the top of the CCS Console.
You may also find the "Trace running jobs" below under Tasks, see the screenshot below.