On Thu, Aug 17, 2023 at 08:25:10AM -0500, Chris Adams wrote:
Once upon a time, Lennart Poettering mzerqung@0pointer.de said:
Yes, and if this is not what you want, then disable the ratelimit. That's what I am saying?
It would be useful for systemd to have "cooldown periods" for things, similar to inetd and classic init, where misbehaving things (whether services or sockets) were paused for a time (configurable even) and then returned to service. AFAIK this is a flaw in general in systemd's limits; if something exceeds them, it takes manual intervention to reset them.
Very recent systemd versions have exponentially-growing restart intervals. I guess you can use very large limit for number of restart, and use RestartSteps=/RestartSecMax= to make "cooldown periods".