Collecting MustGather data for Out of Memory issues
Collect diagnostic information to resolve Out of Memory (OOM) issues before contacting HCL Support.
Before you begin
Procedure
- Generating Heap and Java Dumps for WebSphere
Application Server (ts-app)
- Navigate to the WAS bin directory:
cd <WAS_HOME>/bin - Start the wsadmin
tool:
./wsadmin.sh -lang jython - Identify the JVM
process:
set jvm [$AdminControl queryNames WebSphere:type=JVM,*] - Verify the JVM
value:
puts $jvm - Generate the heap
dump:
./server javadump <serverName> --include=heap - Collect the files
from:
/opt/WebSphere/Liberty/usr/servers/<serverName>/cores/container/<containerId>/
- Generate Java cores: You can collect javacore data by killing
the running server process using the
kill -3command.
- Navigate to the WAS bin directory:
- Generating Heap and Java Dumps for WebSphere Liberty (Search, Store, or
Customization)
- Navigate to the Liberty bin
directory:
cd /opt/WebSphere/Liberty/bin - Identify the server name
in
/opt/WebSphere/Liberty/usr/servers - Generate the heap and Java
dumps:
./server javadump <serverName> --include=heap - Collect the files
from:
/opt/WebSphere/Liberty/usr/servers/<serverName>/cores/container/<containerId>/
- Navigate to the Liberty bin
directory: