IBM Support

IBM Content Collector: TaskRoutingService.exe stops processing files

Troubleshooting


Problem

When the consumption of memory of 32-bit applications reaches the threshold of 2 GB, the TaskRoutingService stops processing.

Symptom

For example, when P8Connector is unable to access the files for archival, it produces an error which in turn causes the TaskRoutingService to throw the TaskStatusException.
This scenario can occur when another application such as an anti-virus program uses the same file for processing as the TaskRoutingService. As a result, the following errors are logged:
TaskRoutingService Log
An error occurred while evaluating the task route '<Task Route name>': Task Method 'ibm.ctms.p8connector.p84x.ArchiveTask' failed for entity with id <ID>: Status=error;
P8Connector Log
The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

Cause

Because the number of errors in the TaskRoutingService log file keeps getting logged continuously, the memory consumption rises and reaches the threshold of 2 GB.

Environment

Windows Server 2016

Resolving The Problem

A. Resolve the error that is causing the TaskStatusException.
  1. Refer to IBM Content Collector 4.0.1: The process cannot access the file because it is being used by another process.
Or
B. Perform the following process:
  1. Stop Content Collector to stop all the Content Collector services.
  2. Download and install the latest Windows SDK files from Windows SDK. For example, Windows 11 SDK (10.0.22621.0) and dbghelp.dll (10.0.22621.1).
    The location of the dbghelp.dll file is C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\.
  3. Go to the ctms folder located in the Content Collector installation directory:
    C:\Program Files (x86)\IBM\ContentCollector\ctms
  4. Create a folder inside the ctms folder and name it TaskRoutingService.exe.local.
  5. Copy the dbghelp.dll file from Step 2 and paste it into the folder you created in Step 4.
  6. Open the Registry Editor on your system and go to the following location:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
  7. Add a DWORD entry, name it DevOverrideEnable and set its value to 1.
  8. Restart your system and check the Content Collector configuration.
  9. Start the TaskRoutingService.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAE9L","label":"Content Collector"},"ARM Category":[{"code":"a8m0z000000bmycAAA","label":"Configuration-\u003EWorking with ICC Taskroutes"},{"code":"a8m0z000000bmxZAAQ","label":"Troubleshooting-\u003EIdentifying document processing errors"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.0.1"}]

Document Information

Modified date:
01 September 2022

UID

ibm16613209