生产环境一两个请求都会将含有该分片的Es节点的负载打到15以上,导致整个集群响应偶发超时。
https://www.elastic.co/guide/cn/elasticsearch/guide/current/heap-sizing.html
代码语言:javascript复制- age 1: 59713408 bytes, 59713408 total
: 996800K->110720K(996800K), 0.2355552 secs] 20496770K->19901542K(33443712K), 0.2358091 secs] [Times: user=1.24 sys=0.03, real=0.24 secs]
2021-01-22T09:48:34.823 0800: 29069538.764: Total time for which application threads were stopped: 0.2388907 seconds, Stopping threads took: 0.0002819 seconds
2021-01-22T09:48:35.827 0800: 29069539.768: [GC (Allocation Failure) 29069539.768: [ParNew (promotion failed): 996800K->996800K(996800K), 0.2758798 secs]29069540.044: [CMS: 19875180K->5815622K(32446912K), 8.8704440 secs] 20787622K->5815622K(33443712K), [Metaspace: 95735K->95735K(112640K)], 9.1466073 secs] [Times: user=10.35 sys=0.00, real=9.15 secs]
2021-01-22T09:48:44.974 0800: 29069548.915: Total time for which application threads were stopped: 9.1496098 seconds, Stopping threads took: 0.0003426 seconds
2021-01-22T09:48:45.898 0800: 29069549.839: [GC (Allocation Failure) 29069549.839: [ParNew
Desired survivor size 56688640 bytes, new threshold 1 (max 6)