Set up for enabling heap dump:
- For V6.0 release:
- To set the following Environment Entries from the administrative console: Select Servers > Application Servers >server_name> Java and Process Management > Process Definition > Environment Entries > NewAdd the following Name/Value pairs: IBM_HEAPDUMP true
IBM_HEAP_DUMP true
IBM_HEAPDUMPDIR your_directory IBM_HEAPDUMP_OUTOFMEMORY true
IBM_JAVADUMP_OUTOFMEMORY true
Make sure that you save changes to the master configurationWhen you create a Heap Dump in the Managing Server VE from the Heap Dump Management menu, the heap dumps get created in the $WAS_HOME/profiles/<ProfileName> dir.
If you want to change this default directory to another dir, say /tmp add these new parameters in your WAS admin console (see first screenshot below) and restart your server.
Now go back into your MS VE and create a new Heap Dump. You will see that the directory has changed from the default dir to the new dir /tmp. This is where the new Heap Dump is located. (See second screenshot here showing that the dir has changed from /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 to the /tmp dir.)
- To set the following Environment Entries from the administrative console: Select Servers > Application Servers >server_name> Java and Process Management > Process Definition > Environment Entries > NewAdd the following Name/Value pairs: IBM_HEAPDUMP true
No comments:
Post a Comment