ES GC日志解读
GC日志:
[2020-06-18T10:16:30,090][WARN ][o.e.m.j.JvmGcMonitorService] [es.ngsocnode4.qianxin.cn.0] [gc][8312841] overhead, spent [11.1m] collecting in the last [11.1m]
日志解读:
[gc][这是第8312841次GC 检查] 在最近11.1m 内花了11.1m用来做垃圾收集
GC日志:
[2020-06-18T10:17:12,181][WARN ][o.e.m.j.JvmGcMonitorService] [es.ngsocnode4.qianxin.cn.0] [gc][old][8312842][19750] duration [42s], collections [3]/[42s], total [42s]/[1.3h], memory [14.2gb]->[14.1gb]/[29.8gb], all_pools {[young] [17.7mb]->[1.7mb]/[1.2gb]}{[survivor] [0b]->[0b]/[153.5mb]}{[old] [14.1gb]->[14.1gb]/[28.5gb]}
日志解读:
[本次GC为old] [是第8312842次GC检查] [从jvm启动是第19750次] [本次检查耗时42s], [从上次检查至今总共发生3次GC]/[从上次检查至今已过去42秒], [本次检查到的GC总耗时为42s秒]/[从 JVM 启动至今发生的 GC 总耗时为1.3h小时],
memory [14.2gb]->[14.1gb]/[29.8gb]
[GC前Heapmemory空间] -> [GC后Heapmemory空间]/[Heapmemory总空间],
all_pools {[young] [17.7mb]->[1.7mb]/[1.2gb]}{[survivor] [0b]->[0b]/[153.5mb]}{[old] [14.1gb]->[14.1gb]/[28.5gb]}
{[young 区][GC 前 Memory ]->[GC后 Memory]/[young区 Memory 总大小] } {[survivor 区][GC 前 Memory ]->[GC后 Memory]/[survivor区 Memory 总大小] }{[old 区][GC 前 Memory ]->[GC后 Memory]/[old区 Memory 总大小] }
{[young] [17.7mb] -> [1.7mb]/[1.2gb]} {[survivor] [0b] -> [0b]/[153.5mb]} [old] [14.1gb]->[14.1gb]/[28.5gb]