runit don't restart service.
 
Hello.
I'm using runit-2.1.2. I have a question about this.
I checked the operation at the time of service abnormality.
- before problem.
[root_at_nodeA ec2-user]# ps -ewwwf |grep lkcheck
root     10647 10592  0 7月13 ?  00:00:00 /opt/LifeKeeper/sbin/runsv lkcheck
root     12521 10647  0 7月13 ?  00:00:02 /opt/LifeKeeper/bin/lkcheck
root     12523 12521  0 7月13 ?  00:00:00 /opt/LifeKeeper/bin/lklogmsg
-p lkcheck -l LK_ERROR -s runit -t  -a uncaught_error -i 0 -c
/opt/LifeKeeper/bin/lkcheck
root     25993 23089  0 02:19 pts/0    00:00:00 grep --color=auto lkcheck
lkcheck is runit managed service process.
- terminate service
[root_at_nodeA ec2-user]# kill 10647 12521
- restart check
[root_at_nodeA ec2-user]# ps -ewwwf |grep lkcheck
root     26053 10592  0 02:20 ?        00:00:00
/opt/LifeKeeper/sbin/runsv lkcheck
root     26056 23089  0 02:20 pts/0    00:00:00 grep --color=auto lkcheck
I was hoping that lkcheck was restarting.
However, it has not restarted.
I would like to know if this behavior is a specification.
Thanks.
Received on Wed Jul 25 2018 - 06:29:25 UTC
This archive was generated by hypermail 2.3.0
: Sun May 09 2021 - 19:44:19 UTC