You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can result in unsuitable configurations for servers with more than 4 processors. According to the official tuning guide, each server instance should have 512MB memory available. Since the java memory is limited by default at 2GB, but the number of instances unconditionally equals the number of processors, the puppetserver process will run with not enough memory and may quit working at load peaks.
My suggestions would be:
Either limit instances too: default_instances = min(number_processors, 4)
or calculate possible instances from number of processors and available memory: default_instances = min (number_processors, (memory_in_mb / 512) -1)
or at least log a warning when more than instances will be configured than fitting into the configured memory
The text was updated successfully, but these errors were encountered:
Only use 2G for puppetserver if at least 3G available. Don't use more than four instances, as 512MB memory per instance are recommended.
Closes: theforeman#571
The default instance number/memory configuration for servers with more than 2GB memory
puppet-puppet/manifests/params.pp
Line 411 in 6735410
can result in unsuitable configurations for servers with more than 4 processors. According to the official tuning guide, each server instance should have 512MB memory available. Since the java memory is limited by default at 2GB, but the number of instances unconditionally equals the number of processors, the puppetserver process will run with not enough memory and may quit working at load peaks.
My suggestions would be:
default_instances = min(number_processors, 4)
default_instances = min (number_processors, (memory_in_mb / 512) -1)
The text was updated successfully, but these errors were encountered: