Z
Z
zvonok13372018-11-02 12:52:44
PHP
zvonok1337, 2018-11-02 12:52:44

How to check if a process has hung/died?

I don’t even know how to google and what solutions there are.
There are a bunch of identical applications on one machine. How to check if it hung, died, or something else happened? And in case something went wrong, it restarted everything.
in other words: monitoring
Or will you have to write your own?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2018-11-02
@zvonok1337

systemd unit write

in other words: monitoring
This is not monitoring.

P
peterpro, 2018-11-17
@peterpro

At a minimum, you can effectively solve the problem of "died - restarted" through Supervisord: supervisord.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question