Gathering diagnostic data

If you discover performance issues with Insight Server and you require help to diagnose them, gather data for problem determination and send this data to IBM®. IBM support teams can then more easily identify the problem and find resolutions.

About this task

The following data is requested by the service team to help with the diagnosis of performance issues:

Javacores
These provide useful information about the state of all threads in the system. Java™ cores must be taken at the point where the performance problem occurs. Many issues can be identified by taking 3 or 4 Java cores 30 seconds apart on each of the servers.
Verbosegc
The verbosegc contains information about memory usage and garbage collection. Significant performance problems can occur if the memory is configured incorrectly or is leaking objects.
WXS Map data
The WXS map data shows the number, distribution, and size of objects in the WebSphere® eXtreme Scale maps. Map data can be useful to identify artifacts that are using large amounts of memory or an uneven distribution of artifacts due to hot entities. A hot entity is where the workload of a solution is not evenly distributed across the grid. If for example, 90% of the events in a solution are for one single entity then you can expect to see 90% of the events that are processed on the server that hosts the primary copy of that entity. That entity is referred to as a hot entity.
Server metrics
CPU, memory, network, and disk usage.
PMI statistics
The PMI statistics confirm that the number of times each event/agent is sent/called and the overall time it took to process. These statistics are useful for finding problem events/agents, and for confirming the solution is working as expected. For more information, see Generating performance statistics.
Trace
Check that the server traces are set to a minimum level, or commented out. For more information, see Server log settings.

Procedure

  1. Generate Java cores by running server javadump [serverName] from the /wlp/bin directory on each server.
  2. Retrieve Verbosegc data by adding -Xverbosegclog:/I2A/tmp/gc_%Y%m%d_%H%S_%pid.log to the jvm.options files. Where /I2A/tmp is changed to an appropriate directory. You can also add <X>,<Y> to the end of the command to specify the number of files and the number of cycles in each file. For example, the following option creates 20 historical files with 1000 garbage collections in each.
    -Xverbosegclog:/I2A/tmp/gc_%Y%m%d_%H%S_%pid.log, 20, 1000
  3. Generate WXS map data by running the following command from the /wlp/bin directory: ./xscmd.sh -c showMapSizes -cep hostname:port > wxsmaps.txt Where hostname and port are specific to the catalog server. The default is localhost:2809. On Windows, use xscmd.bat.