Check High CPU issue in weblogic

======================================================
FIND HIGH CPU INFORMATION IN JAVA PROCESS
Oracle_Support: Unexpected High CPU Usage with WebLogic Server (WLS) Support Pattern [ID 779349.1]
========================================================

prstat -a

prstat -L -p 26217 1 1 > prstat_out.out

prstat -L -p 20750 1 1

    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/LWPID

    14255 weblogic 5949M 5842M run 11 0 33:08:43 0.6% java/30929

    14255 weblogic 5949M 5842M run 10 0 24:16:25 0.6% java/43191

    14255 weblogic 5949M 5842M run 1 0 38:28:20 0.6% java/26070

    14255 weblogic 5949M 5842M run 1 0 13:22:35 0.6% java/56976

    14255 weblogic 5949M 5842M run 1 0 20:14:40 0.6% java/48634

pstack 26217 > pstack_out.txt

tail -f nohup.out > td_MS.txt &

kill -3 26217

kill -3 26217

Check lwp mapping to thread id: u may need to find nid if on Solaris(tid) else using dec2hex.sh find hex value (nid) and grep same in thread dumps:
check the lwp id in thread dumps
=========================================================

0 comments