8

I have installed Puppet Enterprise on CentOS 7. I can see that several Puppet services fail to start saying holdoff time over. What does this mean?

Sep 03 20:50:16 l-pm1 systemd[1]: pe-puppetdb.service holdoff time over, scheduling restart.
Sep 03 20:50:16 l-pm1 systemd[1]: Starting pe-puppetdb Service...
11

After a service stops (or fails to start), systemd waits for a short period of time before attempting to restart it.

The amount of wait time is configurable by setting RestartSec= in the unit.

RestartSec=

Configures the time to sleep before restarting a service (as configured with Restart=). Takes a unit-less value in seconds, or a time span value such as "5min 20s". Defaults to 100ms.

  • 1
    Why should it stop? I've created a service, and see in the logs that it hits this error every 5 minutes or so, then it is logged to stop and start. I don't get why it should stop/start. Is it normal for a random service? – jayarjo Nov 26 '17 at 19:08
  • @jayarjo you are asking essentially "why would would software crash?" There are many possible causes. – Mark Stosberg Mar 26 '18 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.