Would like to kindly ask for your help to check the root cause for ReportAgent to utilize CPU resources in AIX server. I also attached here the support.tar file.
Release : 14.1
AIX
The cause could not be determined without reviewing a full core dump of the process
Assuming ulimit -c is already set to unlimited
[root@XXXXXXX production: /] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
Run the following script
#!/bin/sh
RA_PID=`ps -e -o pid,comm | awk '/ReportAgent/ { print $1 }'`
while true
do
RA_USAGE=`ps av | awk -v x=$RA_PID '{if ($1 == x) { print int($11)}}'`
echo "Current CPU usage by ReportAgent: $RA_USAGE percent"
if [ $RA_USAGE -gt 40 ]; then
kill -6 $RA_PID
break
fi
sleep 3 # seconds
done
echo "ReportAgent monitoring script has ended, checking for a core file "
ls -al /core
which dbx >/dev/null 2>&1
HAVE_DBX=$?
if [ -f /core ]; then
file /core
if [ $HAVE_DBX = 0 ]; then
echo where | dbx /opt/CA/PAMSCShared/bin/ReportAgent /core
fi
echo "Please upload /core to the ticket."
fi