无论才能、知识多么卓著,如果缺乏热情,则无异纸上画饼充饥,无补于事。

es6.2.4频繁full gc

Elasticsearch | 作者 dingxiaocao | 发布于2019年09月16日 | 阅读数:1548

 CMS: abort preclean due to time 2019-09-15T20:43:08.121+0800: 11227092.465: [CMS-concurrent-abortable-preclean: 2.180/5.083 secs] [Times: user=2.01 sys=0.36, real=5.08 secs]
2019-09-15T20:43:08.122+0800: 11227092.466: [GC (CMS Final Remark) [YG occupancy: 49439 K (613440 K)]2019-09-15T20:43:08.122+0800: 11227092.466: [Rescan (parallel) , 0.0047538 secs]2019-09-
15T20:43:08.127+0800: 11227092.471: [weak refs processing, 0.0097030 secs]2019-09-15T20:43:08.137+0800: 11227092.481: [class unloading, 0.0249332 secs]2019-09-15T20:43:08.162+0800: 11227092
.506: [scrub symbol table, 0.0075287 secs]2019-09-15T20:43:08.169+0800: 11227092.513: [scrub string table, 0.0012709 secs][1 CMS-remark: 2634661K(3512768K)] 2684100K(4126208K), 0.0529798 se
cs] [Times: user=0.07 sys=0.01, real=0.05 secs]
2019-09-15T20:43:08.175+0800: 11227092.519: Total time for which application threads were stopped: 0.0545377 seconds, Stopping threads took: 0.0001638 seconds
2019-09-15T20:43:08.176+0800: 11227092.520: [CMS-concurrent-sweep-start]
2019-09-15T20:43:09.407+0800: 11227093.751: [CMS-concurrent-sweep: 1.231/1.231 secs] [Times: user=1.14 sys=0.20, real=1.24 secs]
2019-09-15T20:43:09.407+0800: 11227093.751: [CMS-concurrent-reset-start]
2019-09-15T20:43:09.417+0800: 11227093.761: [CMS-concurrent-reset: 0.010/0.010 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
 
 
 
配置:使用的默认配置
-Xms4g
-Xmx4g

################################################################
## Expert settings
################################################################
##
## All settings below this section are considered
## expert settings. Don't tamper with them unless
## you understand what you are doing
##
################################################################

## GC configuration
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly

## optimizations

# pre-touch memory pages used by the JVM during initialization
-XX:+AlwaysPreTouch
已邀请:

tacsklet - 公司有用到es

赞同来自:

信息太少,硬件配置是怎样的,业务量有多少,CG每次能回收多少资源,等等,信息不给全就是猜嘛。

要回复问题请先登录注册