Hi All, Following is my puppet configuration details. Problem is that puppet server and agent runs are going very slow at times and restarting the server helps in production.
Puppet 3.8.7 (open source) Facter 2.4.6 CentOS 7 Number of nodes: 500 Number of cores: 16 RAM: 32GB I'm going through this puppet website https://docs.puppet.com/pe/latest/config_monolithic.html#tuning-monolithic-installations-(reference) to fine tune my puppet. Can someone help me in understand location of the files exactly as i could not figure out *few (marked in Red)*. Please verify my changes and let me know if there's anything wrong. Section from Link: 16 cores, 32 GB of RAM (Monolithic) *Puppet Server:* *1. Increased JRuby instances in /etc/hiera.yaml file as below.* --- :backends: - yaml :hierarchy: - defaults - "%{clientcert}" - "%{environment}" - global :yaml: # datadir is empty here, so hiera uses its defaults: # - /var/lib/hiera on *nix # - %CommonAppData%\PuppetLabs\hiera\var on Windows # When specifying a datadir, make sure the directory exists. :datadir: jruby-puppet: { max-active-instances: 10 max-requests-per-instance: 0 } *1.1 Heap size on puppet server - Not sure where and how to change this.* *PuppetDB:* *2. PuppetDB command processing threads - **Where and how to change this?* * changed this in /etc/puppetdb/conf.d/config.ini* *2. 1 Changed heap size of puppetdb in /etc/sysconfig/puppetdb file as below* *JAVA_ARGS="-Xmx1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -Djava.security.egd=file:/dev/urandom"* *2.2 Broker Memory - Not sure where and how to change this.* *3. Node classifier-** Not sure where and how to change this.* *4. ActiveMQ - **Not sure where and how to change this.* *5. Orchestration services - **Not sure where and how to change this.* *6. PostgreSQL - **Not sure where and how to change this.* Thanks & Regards, Harish Kothuri -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b0fb70eb-3224-4099-b53d-e1c370e2a0f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.