Just an idea. You could try running two ES instances as a cluster on one machine if there is no other option.
On Wednesday, January 28, 2015 at 2:09:22 PM UTC+1, Oto Iashvili wrote: > > Hi > > I have a website for classified. For this I'm using elasticsearch, > postgres and rails on a same ubuntu 14.04 dedicated server, with 256go of > RAM and 20 cores, 40 threads . > > I have 10 indexes on elasticsearch, each have default numbers of shardes > (5). They have between 1000 and 400 000 classifieds dependings on which > index. > approximatly 5000 requests per minute, 2/3 making an elasticsearch request. > > according to htop, jvm is using around 500% of CPU > I try different options, I reduce number of shardes per index, I also try > to change JAVA_OPTS of followed > > #JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC" > #JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC" > > #JAVA_OPTS="$JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75" > #JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly" > > JAVA_OPTS="$JAVA_OPTS -XX:+UseG1GC" > > but it doesnt seems to change anything. > > so to questions : > - when you change any setting on elasticsearch, and then restart, should > the improvement (if any) be visible immediatly or can it arrive a bit later > thanks to cache or any thing else ? > - can any one help me to find good configuration for JVM / elasticsearch > so it will not take that many ressources > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ef4bad2e-42c7-4450-ba95-2da27f5a6b58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
