Affects Version/s: SERVER 2.0.0
Fix Version/s: None
OS: Oracle Linux 6.6
Java version: Java 1.7.0_79 (java-1.7.0-openjdk-126.96.36.199-188.8.131.52.0.1.el6_6.x86_64)
Hardware platform: Oracle Corporation SUN SERVER X4-2
Memory: 256GB RAM
Puppet Server configuration: default as installed
I am building a test environment for Puppet 4 (using puppetserver 2) before we deploy for real in a couple of months. All the packages were installed from the puppetlabs-pc1 repo (http://yum.puppetlabs.com/el/6/PC1/$basearch).
Right now, the puppet server is serving two nodes - itself and one other node. Each node's agent is set to run every 10 minutes. The non-server node is not yet configured, so it just generates a fail() message in the site.pp manifest.
I got the server running and left it alone. When I checked the next day, the puppet server process had crashed after 4.5 hours with an out of memory error:
I cannot attach the heap dump because it's 3.3 GB in size. Even at max compression, it's still 672 MB, way over the 10MB attachment limit.
The puppetserver is running with the initial configuration - specifically, the java heap size is set to 2GB:
UPDATE: this issue seemed to mostly be a matter of not being clear enough in the tuning guide docs; it's not obvious what the old default was, nor that it was the default for Puppet Server 2.0. I've renamed the ticket to reflect the intent to improve those docs, and the default value should be fixed/improved as of 2.1.0.