On Mon, 25 Jun 2012, Tom Lane wrote:

Subject: Re: service restart question

(1) systemd is not able to distinguish a crash that should be restarted

(2) Right now it appears that there is a bug in systemd that causes
it to ignore its respawn limits

(3) Even if StartLimitInterval/StartLimitBurst were operating properly,
there are scenarios where mysqld will fail to start up, but be slow
enough about it (like a couple of seconds) that systemd's respawn
suppression logic would not get triggered, so it'd keep on restarting

In the meantime I'm seriously considering reverting to mysqld_safe.

Good to know, because I was thinking about the same thing for openswan's
wrapper script. It's a little more complicated there because it supports
an option plutorestartoncrash=yes|no. It's really nice for dev's to not
get a chain reaction of cores, but in production we really want it to
always restart. I was hoping systemd would support that properly for all
daemons now via generic options.

I'll keep an eye on this issue,

Paul
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to