When trying to start the agent, the agent results in a core dump and segmentation fault.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f5dd001284d, pid=31997, tid=0x00007f5deb312720
#
# JRE version: Java(TM) SE Runtime Environment (8.0_172-b11) (build 1.8.0_172-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.172-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# j java.lang.Thread.<init>(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;)V+0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00000000009c7800): JavaThread "<no-name - thread is attaching>" [_thread_in_Java, id=31997, stack(0x00007fff26854000,0x00007fff26954000)]
siginfo: si_signo: 7 (SIGBUS), si_code: 2 (BUS_ADRERR), si_addr: 0x00007fff2694b5a8
Registers:
RAX=0x00007f5dcea7bec0, RBX=0x00007f5dce827060, RCX=0x0000000000000020, RDX=0x00007f5dce8af118
Release : 11.4
Component : CA Workload Automation System Agent
Some Linux distro running older kernel have an issue with JRE and stack size. This causes the JRE to throw a core dump.
Add the following parameter to the agentparm.txt
oscomponent.jvm.x.options=-Xss2m
Note: If oscomponent.jvm.x.options parameter is currently present in the agentparm.txt, then append the -Xss2m to the existing line with " ; " as a separator. Do not add a second line for oscomponent.jvm.x.options.
E.g
oscomponent.jvm.x.options=-Xms256m;-Xmx512m;-Xss2m
See this release notes link for more details on the issue.