Configuring Java arguments
You might need to increase the Java Virtual Machine (JVM) memory allocated to Java services to improve performance in your Puppet Enterprise (PE) deployment.
pe.conf
only — not the console — to specify
configuration parameters. Using pe.conf
or Hiera ensures that configuration is applied to both
your master and replica. Increase the Java heap size for PE Java services
The Java heap size is the Java Virtual Machine (JVM)
memory allocated to Java services in Puppet Enterprise (PE). Because these are profile
classes, you can use the console to change the Java heap
size for console services, Puppet Server,
orchestration services, or PuppetDB.
Ensure that you have sufficient free memory before increasing the memory that is used by a service.
java_args
for Razor, you must hard code them in the init
script. Disable Java garbage collection logging
Java garbage collection logs can be useful when diagnosing performance issues with JVM-based PE services. Garbage collection logs are enabled by default, and the results are captured in the support script, but you can disable them.
puppet_enterprise::console_services::enable_gc_logging: false
puppet_enterprise::master::puppetserver::enable_gc_logging: false
puppet_enterprise::profile::orchestrator::enable_gc_logging: false
puppet_enterprise::puppetdb::enable_gc_logging: false
puppet_enterprise::profile::amq::broker::enable_gc_logging: false