boyfriend什么意思SpringCloud:Eureka服务down状态⽇志解析
补习班服务启动
15:14:57.556 INFO 10 --- [nio-8080-exec-3] istry.AbstractInstanceRegistry : Registered instance FRAMEWORK-GATEWAY/10.10.10.10:framew
初一下册英语15:15:00.970 INFO 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : Running the evict task with compensationTime 0ms
15:15:05.972 INFO 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : Running the evict task with compensationTime 2ms
Registered instance <rver>/<id> with status UP:表⽰服务实例已注册到eureka上,状态为up。
replication=fal:是否同步请求,fal表⽰微服务发送的注册请求。
man friday
replication=true:是否同步请求,true表⽰eureka发送的同步请求。
Running the evict task with compensationTime 2ms:⼼跳检查⽇志。
2ms:表⽰⽐标准⼼跳检查时间延时多久,也会⽤于实例过期时间计算上。这⾥是⼼跳检查为5s,两次⾏调时间15:15:00.970
2009年四级成绩查询到15:15:05.972,即⽐5s延时了2ms。。
服务正常关闭
15:16:01.123 INFO 10 --- [io-8080-exec-11] istry.AbstractInstanceRegistry : Registered instance FRAMEWORK-GATEWAY/10.10.10.10:framew
15:16:05.973 INFO 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : Running the evict task with compensationTime 0ms
15:16:06.234 INFO 10 --- [nio-8080-exec-5] istry.AbstractInstanceRegistry : Cancelled instance FRAMEWORK-GATEWAY/10.10.10.10:framework-gate
Registered instance <rver>/<id> with status DOWN:表⽰服务实例标记为down状态,即不可⽤。forme
Cancelled instance <rver>/<id>:表⽰服务已从注册中⼼上注销。
可口可乐英文服务离线
使⽤kill -9 pid关闭微服务进程,2分后输出⽇志。
16:18:41.626 INFO 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : Evicting 1 items (expired=1, evictionLimit=7)
上海复旦大学自考网16:18:41.626 WARN 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : DS: Registry: expired lea for FRAMEWORK-GATEWAY/10.10.10.10:fram 16:18:41.626 INFO 10 --- [a-EvictionTimer] istry.AbstractInstanceRegistry : Cancelled instance FRAMEWORK-GATEWAY/10.10.10.10:framework-gatew
rihanna umbrellaEvicting 1 items (expired=1, evictionLimit=6):
Evicting:expired和evictionLimit中的较⼩的值,防⽌⼀次注销过多的实例。
expired:过期的实例数量。
evictionLimit:表⽰⼀次可过期的数量,防⽌⼀次全部过期,避免触发eureka保护机制,值为(eureka上的总实例数*0.15)取
整。这⾥eureka中所有服务的实例数总和为40,计算可得40*0.15=6。
drink的过去式
#eureka⽇志级别,
logging:
level:
comflix: warn #可以减少⼼跳⽇志输出