You can use a task to stop a thundering herd on Unix (including MacOS) or Windows nodes. On each targeted agent node, the task stops puppet agent service and restarts it, delaying check-in for anywhere from one second up to the configured runinterval.
The task might take up to the time of the runinterval to complete. While the task runs, each node will be offline for 10 to 15 seconds and the console will be unresponsive.
Version and installation information
PE version: All supported versions
puppetlabs-support_tasks module and use a task to stop a thundering herd on Unix and Windows nodes.
Download and install the
puppetlabs-support_tasksmodule which includes the task for this solution. Please use the most updated version of the module.
Run the task on all of your nodes or a subset of your nodes by following the instructions in our documentation for targeting and using tasks in the console. Make sure you’re using the right version of the documentation for your deployment.
Select the task
Run the task on the targeted nodes.
Prevent future thundering herds
This is a short-term solution. To prevent future thundering herds, choose only one of the following solutions.
Spread out agent catalog requests using