APAR status
Closed as program error.
Error description
Approver: MK Reported Release: 630 FP7 Environment: Across versions On Windows when using the OS Agent Scripting feature, sometimes the agent will have high CPU usage.
Local fix
Workaround: Set the environment variable KNT_FCP_ENABLE_CPCI_CHECK_THREAD to false in the KNTENV file: KNT_FCP_ENABLE_CPCI_CHECK_THREAD=false This turns off an extra check done in the code so the code that is looping does not get called. Related Files and Output: In the agent RAS1 log file, <hostname>_nt_kntcma_<timestamp>-0<n>.log, the log will be filled with the message: (5F315837.0C21-3144:factorycustomprovidertemplate.cpp,3023,"fac toryProviderCPCICheckThread")WARNING: pthread_cond_wait failed w error). Now: '1627431115', timing out at: '1627430877' (-1 means no timeout)
Problem summary
When using the OS Agent Scripting feature, sometimes the agent will have high CPU usage. When using the OS Agent Scripting feature, sometimes the agent will have high CPU usage due to an unexpected return code from an API call. The problem was reported on the Windows operating system.
Problem conclusion
The Windows pthread_cond_wait API call sometimes returns an unexpected return code which causes in the agent code to loop resulting in high CPU. The code has been updated to better handle the unexpected return code. The problem was reported on Windows, but the improved error handling was done for Windows, UNIX, and Linux OS Agents. The fix for this APAR is contained in the following maintenance packages: | service pack | 6.3.0.7-TIV-ITM-SP0009
Temporary fix
Set the environment variable KNT_FCP_ENABLE_CPCI_CHECK_THREAD to false in the KNTENV file: KNT_FCP_ENABLE_CPCI_CHECK_THREAD=false or use the tacmd setagentconnection command to set the variable remotely and restart the agent, for example: tacmd setagentconnection -t nt -e KNT_FCP_ENABLE_CPCI_CHECK_THREAD=false -n <Primary:system:NT> this will add the environment variable to the kntcma.ini file. This turns off an extra check done in the code so the code that is looping does not get called.
Comments
APAR Information
APAR number
IJ34239
Reported component name
ITM AGENT WINDO
Reported component ID
5724C040W
Reported release
630
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-08-03
Closed date
2022-01-04
Last modified date
2022-01-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
ITM AGENT WINDO
Fixed component ID
5724C040W
Applicable component levels
R630 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRM2J","label":"Tivoli OMEGAMON XE for Distributed Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":[{"code":"LOB35","label":"Mainframe SW"}]}]
Document Information
Modified date:
12 January 2022