IBM Support

MustGather: Performance, hang, or high CPU issues with Liberty on Windows

Troubleshooting


Problem

If you are experiencing performance degradation, hang, no response, hung threads, CPU starvation, high CPU utilization, or deadlocks, this MustGather will assist you in collecting the critical data that is needed to troubleshoot your issue.

Diagnosing The Problem

  1. If verboseGC is not enabled, enable it per "WebSphere Liberty verbosegc from Startup Recipe"
  2. Download the attached script and put it in the liberty_home\bin folder.
    perfscript.bat
  3. At the time of the problem, run the script using server names. Example:
    • perfscript.bat serverName1 serverName2
       
    • The script completes in four minutes and creates:
      • IBM JDK: several javacore.*.txt files
      • Oracle JDK: thread dumps in the console.log file
         
  4. Once the script has completed its work, collect the following files:
    • logs (messages.log, console.log, etc)
    • javacores generated by the script (if running on an IBM JDK)
    • server.env, server.xml and jvm.options
Send the data to IBM Support: "Exchanging information with IBM Support"

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Component":"Hangs\/Performance Degradation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4JBE","label":"Liberty for Java for IBM Cloud"},"Component":"Hangs\/Performance Degradation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB21","label":"Public Cloud Platform"}}]

Document Information

Modified date:
14 March 2024

UID

ibm10966879