Re: Re: ygc problem on solr 5.5.1

2017-11-10 Thread Samuel Tatipamula
Promotion failure usually means your old gen doesn't have enough space to accommodate the incoming (promoted from young to old) object. In your case, you have specified NewRatio as 3, which means, you have approximately 30*(3/4) = 22.5 GB old gen heap space. If a heap this big gets fragmented, it w

Re:Re: ygc problem on solr 5.5.1

2017-11-10 Thread 胡一博
Thank you for your suggest! about the NewRatio param. I found some 'promotion failed' in the gc log. It trigger a stw gc instead of cms gc. If i change the NewRatio to 2,the promotion fail maybe appeard more frequenly. Is the 'promotion failed' is caused by some inappropriate use on solr cloud

Re: ygc problem on solr 5.5.1

2017-11-10 Thread Samuel Tatipamula
Hi, There are a couple of things based on your configuration I can suggest. -XX:ConcGCThreads=4 - try removing this restriction on the threads. -Xms30g - you should re-consider this param, as 30 GB is huge heap size. Instead, in SolrCloud, try spawning multiple instances if you have system resou

ygc problem on solr 5.5.1

2017-11-09 Thread 胡一博
Hello everyone! I run a solr cloud on version 5.5.1. Sometime ,the ygc time would increase from 0.1s to 10+seconds and keep 10+seconds for several hours.Even after I trigger a fullgc ,the ygc still cost 10+seconds. This happened seldom. jvm params:(java version "1.7.0_60", Java HotSpot (TM) 64-