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.
You can increase file handle limits for these PE services:
pe-orchestration-services
pe-puppetdb
pe-console-services
pe-puppetserver
pe-puppet
Where and how you configure ulimit depends on the agent's platform. We've provided instructions to:
- 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.