Configure ulimit
As your infrastructure grows and you use Puppet Enterprise (PE) to manage more agents, you might need to increase the number of allowed file handles per client.
PE services can require as much as one file handle per connected client. The default ulimit settings for most operating systems can only support up to about 200 clients. To support more clients, you need to increase the number of allowed file handles.
pe-orchestration-services
pe-puppetdb
pe-console-services
pe-puppetserver
pe-puppet
- Configure ulimit using systemd
- Configure ulimit using upstart
- Configure ulimit on other init systems
<PE_SERVICE>
with the name of the service you're configuring. For
example, if you're configuring ulimit for the PuppetDB service, replace <PE_SERVICE>
with pe-puppetdb
.Additionally, these instructions use
32678
as a sample ulimit value. Change this
value according to your needs.
Configure ulimit using systemd
With systemd, the allowed number of open file handles is controlled by
the LimitNOFILE
setting in the
.service
file each
PE
service.
Configure ulimit using upstart
For Ubuntu and Red Hat systems, the allowed number of open file handles is specified in system configuration files for each PE service.
Configure ulimit on other init systems
The ulimit controls the number of processes and file handles that a PE service user can open and process.
To increase the ulimit for a PE service user: