Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

6.11. Managing the Agent JVM

6.11.1. Setting Options for the Agent JVM

The agent runs in a Java Virtual Machine, and aspects of its behavior can be defined in the rhq-agent-env.sh file and passed to the JVM.
There are two arguments that set JVM options:
  • RHQ_AGENT_JAVA_OPTS resets the any of the default JVM settings.
  • RHQ_AGENT_ADDITIONAL_JAVA_OPTS adds JVM settings without changing any of the default settings.
For more information on JVM settings, see http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp and other Sun JVM documentation.

Note

Restart the agent after making changes to the JVM settings to load the new settings.