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/369fdad8-cc02-415c-b4e9-e93135e58b59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to