17

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...

1 Answer 1

15

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.

2
  • 2
    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, 2017 at 19:08
  • @jayarjo you are asking essentially "why would would software crash?" There are many possible causes. Mar 26, 2018 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .