Puppet Version: 5.5.x, 6.x
Puppet Server Version: 5.x, 6.x
OS Name/Version: Any
Describe your issue in as much detail as possible…
- Install Puppet Server along with a pool of agents
- Re-start the puppet service on the agents all at once so they form a thundering herd
- Configure puppetserver with max-queued-requests set less than the herd size
- Observe connection state via netstat when an agent receives a 503 response
Agents close their connections in response to a 503 before sleeping and re-trying.
Agents retain open TCP connections to the server while sleeping due to the default behavior being Connection: keep-alive.