GemFire JVM Test

This test continuously monitors the JVM heap usage and promptly alerts administrators when memory usage is at the maximum. In addition, this test helps administrators figure out the statistics related to the garbage collection of the JVM.

Target of the test : A GemFire server

Agent deploying the test : An internal/remote agent.

Outputs of the test : One set of results for each disk of the target GemFire server being monitored.

Configurable parameters for the test
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. By default, this is 7070.

JMXPort

Here, specify the port at which the jmx listens for requests from remote hosts. Ensure that you specify the same port that you configured in the gemfire.properties file in the <GEMFIRE_INSTALL_DIR>\defaultConfigs folder used by the target application.

JNDIName

The JNDIname is a lookup name for connecting to the JMX connector. By default, this is jmxrmi. If you have registered the JMX connector in the RMI registery using a different lookup name, then you can change this default value to reflect the same. 

JMX UserName and JMX Password

If JMX requires authentication only (but no security), then ensure that the user and password parameters are configured with the credentials of a user with read-write access to JMX. To know how to create this user, refer to Configuring the eG Agent to Support JMX Authentication.

Confirm Password

Confirm the Password by retyping it in this text box.

GemFire Servers

Specify the name of the server if the monitored GemFire server belongs to a cluster. By default, this is none.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

JVM pauses

Indicates the number of times the JVM of this disk suspended i.e., paused the application which may or may not include full garbage collection.

Number

 

Number of threads in use

Indicates the total number of threads that are currently in use in the JVM of this disk.

Number

 

Used heap size

Indicates the amount of heap memory that is currently utilized by the JVM of this disk.

MB

A low value is desired for this measure. Comparing the value of this measure across the JVM of the disks reveals the JVM of the disk that is more frequently utilized and is in need of additional resources.

Free heap size

Indicates the amount of heap memory that is currently available for use on the JVM of this disk.

MB

A high value is desired for this measure.

Total heap size

Indicates the total amount of heap memory on the JVM of this disk.

MB

 

Heap usage

Indicates the percentage of heap memory utilized on the JVM of this disk.

Percent

A low value is desired for this measure. Comparing the value of this measure across the JVM of the disks reveals the JVM of the disk that is more frequently utilized and is in need of additional resources.

Heap free

Indicates the percentage of heap memory that is already utilized on the JVM of this disk.

Percent

A high value is desired for this measure.

Garbage collections

Indicates the number of garbage collection operation was performed on the JVM of this disk.

Number

 

Garbage collection time

Indicates the time taken to perform the garbage collection operation on the JVM of this disk.

MilliSeconds

Ideally, the value of this measure 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.

Allocated heap size

Indicates the amount of heap memory that was allocated to the JVM of this disk.

MB