[ClusterLabs] systemd: xxxx.service start request repeated too quickly

Andrew Beekhof andrew at beekhof.net
Sun Aug 16 18:48:38 EDT 2015


> On 6 Aug 2015, at 11:59 pm, Juha Heinanen <jh at tutpro.com> wrote:
> 
> Ken Gaillot writes:
> 
>>>> Also, I want to add some delay to the restart attempts so that systemd
>>>> does not complain about too quick restarts.
>>> 
>>> This is outside of pacemaker control. "Service respawning too rapidly"
>>> means systemd itself attempts to restart it. You need to modify
>>> service definition in systemd to either disable restart on failure
>>> completely and let pacemaker manage it or at least add delay before
>>> restarts. See man systemd.service, specifically RestartSec and Restart
>>> parameters.
> 
> The service in question only has old an style init.d file inherited from
> Debian Wheezy and I don't have in it any restart definition.  Based on
> systemd.service man page, Restart value defaults to 'no'.  So I'm not
> sure if it is systemd that is automatically restarting the service too
> rapidly.


Well its systemd thats printing the message, so its involved somehow.
What does the resource definition for that resource look like in pacemaker?




More information about the Users mailing list