You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the document and the open issues but I can't find a way to record all the FATAL process. Now I write TWO cron job , first to check supervisorctl output periodically, something like this,
supervisorctl status | awk '{if ($2 =="FATAL") {split($1,a,":"); print a[1]}}'
// If the output is not empty I will record the process name into a file
The second cron job to check periodically if that particular file exists
I feel awkward for this home-made solution. So if does supervisor provide any builtin solution to record all the FATAL process?
The reason I need to this is there are critical processes in my php-worker docker I need to supervisor to start, if they are not started I will need to restart my docker.
The text was updated successfully, but these errors were encountered:
qiulang
changed the title
Feature quest: a place to record all the FATAL prcoess
Feature quest: a place to record all the FATAL processes
Apr 13, 2023
Hi,
I have searched the document and the open issues but I can't find a way to record all the FATAL process. Now I write TWO cron job , first to check supervisorctl output periodically, something like this,
The second cron job to check periodically if that particular file exists
I feel awkward for this home-made solution. So if does supervisor provide any builtin solution to record all the FATAL process?
The reason I need to this is there are critical processes in my php-worker docker I need to supervisor to start, if they are not started I will need to restart my docker.
The text was updated successfully, but these errors were encountered: