On Fri, Nov 22, 2013 at 10:24 PM, Reindl Harald <h.rei...@thelounge.net> wrote:
> your internal checks are mostly theory because in case of
> a bug you have undefined behavior and what you want to achieve
> with the watchdog is catch this undefined behavior and restart
> the service - in doubt this will not work in the rare cases
> the watchdog should restart until you went the complete
> code-path of a client, in case of a IMAP server you can
> enter the spin-loop everywhere from accept the connection
> to folder listing or receive a message and it may depend
> on a buffer overflow while high concurrency and different
> threads are touching each other in a unexpected way

You're not hearing what I'm saying. Check what's relevant; it's not
systemd's concern what you check. I you need to do a transactional
check of an IMAP server from a separate process or thread, then do
that. Only report back to watchdog if you've verified what you
consider to be a healthy state.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to