Salesforce

How to view the memory statistics of a Broker java process using JConsole?

« Go Back

Information

 
TitleHow to view the memory statistics of a Broker java process using JConsole?
URL NameP148538
Article Number000139431
EnvironmentProduct: OpenEdge
Version: 10.1B, 10.1C, 10.2x, 11.x
OS: All supported platforms
Other: AppServer
Question/Problem Description
How to view memory statistics of an Broker java process using JConsole?
How can I monitor memory usage of an AppServer broker using JConsole?
Can JConsole be used to view the current java heap size of an OpenEdge Broker's java process?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

To monitor memory usage of an OpenEdge Broker's java process

JVM arguments need to be added to the java command line used to start the Broker. One way to add these arguments is in the AdminServerPlugins.properties file which is outlined below, where the following information uses the AppServer Broker as the example

1.   Edit the DLC/properties/AdminServerPlugins.properties file

2.   Add a new Plugin Policy Group.

The port number is arbitrary and does not have to be 5555. Any available port number can be configured as long as it is not used by another process:

[PluginPolicy.Progress.Ubroker]
jvmargs=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

3.   Add the new Plugin Policy Group to the AppServer Plugin
[Plugin.AppServer]
pluginpolicy=PluginPolicy.Progress.Ubroker 

When the AppServer is started using either the asbman command, or from the OpenEdge Management/Explorer Console Browser, the new jvmargs will be added to allow JConsole to view the AppServer broker process.

WARNING: The above instruction only applies to the environment with one unified broker. To enable JMX for individual brokers, refer to Article: How to connect Jconsole to a remote AppServer?

When connecting to an agent with JConsole, use the portnumber configured in the jvmargs line added to the AdminServerPlugins.properties file (e.g. 5555).

Refer to the documentation available for each operating system on how to run JConsole.
Workaround
Notes
Keyword Phrase
Last Modified Date6/17/2022 8:56 PM

Powered by