JVM GC Resource Statistics Test
Manual memory management is time consuming, and error prone. Most programs still contain leaks. This is all doubly true with programs using exception-handling and/or threads. Garbage collection (GC) is a part of a Java application’s JVM that automatically determines what memory a program is no longer using, and recycles it for other use. It is also known as "automatic storage (or memory) reclamation''. The JVM GC Resource Statistics test reports the performance statistics pertaining to the JVM's garbage collection in the target IBM Integration Bus.
Target of the test : An IBM Integration Bus
Agent deploying the test : An internal/remote agent.
Outputs of the test : One set of results for each Execution group:garbage collector that is reclaiming the unused memory on the JVM of the server being monitored
Parameters | Description |
---|---|
Test period |
How often should the test be executed. |
Host |
The host for which the test is to be configured. |
Port |
The port on which the specified host listens. |
JNDI Namespace Location |
Indicate where the JNDI namespace has been created. For this, select one of the following options: File or LDAP. Select File if the JNDI namespace is created in the same location as that of the IIB server. |
SSL |
If you have chosen LDAP as the JNDI Namespace Location wherein the LDAP server communicating with the IIB server that is to be monitored is an SSL-enabled server, then set the SSL flag to Yes. By default, this flag is set to No. |
User DN and Password |
Here, provide the credentials of the Active Directory user created as explained in Creating a user in the Active Directory server, if the target IIB server is monitored in an agentless manner. If the IIB server is to be monitored in an agent based manner, specify none against these parameters. |
Confirm Password |
Confirm the Password by retyping it in this text box. |
JNDI Provider URL |
Specify the URL that was specified as the provider URL while creating the initial context. To know the Provider URL, refer to Agent based monitoring of the IIB server if you choose to monitor the target IIB server in an agent based manner and Agentless Monitoring of the IIB server if you chose to monitor the target IIB server in an agentless manner. |
TopicConnectionFactory |
Specify the name of the connection factory in this text box. If you have chosen to monitor the target IIB server in an agent-based manner, refer to Creating a Connection Factory and if you have chosen to monitor the target IIB server in an agentless manner, refer to Creating a Connection Factory. |
JMS Resource Stats |
Specify the name of the JMS destination that you have created for storing the Resource statistics. If you chose to monitor the target IIB server in an agentless manner, refer to Creating the JMS Destinations and if you choose to monitor the target IIB server in an agent based manner, refer to Agent based monitoring of the IIB server. |
JMS Flow Stats |
Specify the name of the JMS destination that you have created for storing the Message flow statistics. If you chose to monitor the target IIB server in an agentless manner, refer to Creating the JMS Destinations and if you choose to monitor the target IIB server in an agent based manner, refer to Agent based monitoring of the IIB server. |
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Number Of GC collections |
Indicates the number of times this garbage collector was started to release dead objects from memory during the last measurement period. |
Number |
|
GC duration |
Indicates the time taken to by this garbage collector to perform the current garbage collection operation. |
Secs |
Ideally, the value of both these measures should be low. This is because, the garbage collection (GC) activity tends to suspend the operations of the application until such time that GC ends. Longer the GC time, longer it would take for the application to resume its functions. To minimize the impact of GC on application performance, it is best to ensure that GC activity does not take too long to complete. |
GC duration as percentage over test frequency |
Indicates the percentage of time spent by this garbage collector on garbage collection during the last measurement period. |
Percent |