SZÉPE Viktor writes:


Hello!

I am just experiencing with systemd.
I've noticed that courierd - the sending daemon - does not have a pid
file, that is why it cannot be monitored and restarted on failure.
(How is it possible to stop it at all? Through its FIFO?)

Yes, the FIFO is used to send commands to the running daemon, not just to stop it.

There's a popular meme that says that if a process stops abnormally, all you have to do is restart it, and this solves the problem.

Of course, that does nothing to solve the problem which caused the process to stop in the first place.

A much better approach is simply to make sure that the software is robust enough so that it doesn't stop running, for some reason, in the first place. In which case, it does not need any silly pid file, for some nebulous monitoring purpose.


Attachment: pgpFwpzZVS9gr.pgp
Description: PGP signature

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to