(1)cm zk异常宕掉,而且全部同时宕掉。差找不到任何有效日志,只有在supervisord里面发现一点异常如下:
2019-07-23 14:40:24,373 INFO exited: 514-zookeeper-server (exit status 143; not expected)
(2)该异常具体出现场景复现如下:
1. ps -fe | grep zookeeper
2. kill zkpid(注意一定要用kill,不要加-9,不然不会复现场景)
3. 查看supervisord日志
4. 复现143场景
(3)若是kill -9 pid 会出现如下:
2019-07-23 14:24:25,250 INFO exited: 514-zookeeper-server (terminated by SIGKILL; not expected)
2019-07-23 14:24:26,253 INFO spawned: '514-zookeeper-server' with pid 29258
2019-07-23 14:24:46,282 INFO success: 514-zookeeper-server entered RUNNING state, process has stayed up for > than 20 seconds (startsecs)