I'm using elasticsearch for my webshop products to have a fast
search/navigation and have approximate 5000 products (85000 documents
indexed). I'm using elasticsearch as service and it works fine, but it's
eating my CPU. I think my use of elasticsearch is very minimal and still my
CPU is hitting an avg of 97%. When i stop the service everything is going
back to normal, so i'm sure it's the elasticsearch (64-bits) service. Is
there anything i can do? I"m using windows server 2012, 4 CPU cores, 16 GB
RAM. I have (for now) 1 cluster with 1 node and 2 indexes of 5 shards. I'm
running elasticsearch on the same server of my website.
Would it help if i change my structure to 3 nodes, 1 shards and 2 replicas?
Op woensdag 12 februari 2014 09:07:53 UTC+1 schreef Wesley Creteur:
Hi everyone,
I'm using elasticsearch for my webshop products to have a fast
search/navigation and have approximate 5000 products (85000 documents
indexed). I'm using elasticsearch as service and it works fine, but it's
eating my CPU. I think my use of elasticsearch is very minimal and still my
CPU is hitting an avg of 97%. When i stop the service everything is going
back to normal, so i'm sure it's the elasticsearch (64-bits) service. Is
there anything i can do? I"m using windows server 2012, 4 CPU cores, 16 GB
RAM. I have (for now) 1 cluster with 1 node and 2 indexes of 5 shards. I'm
running elasticsearch on the same server of my website.
I'd try to up it to 8GB, assuming of course you still have a lot (like
close to 8GB) free. If that still doesn't work, once you get to the high
CPU state, try to run this and it'll tell you what threads in ES is doing
what with the CPU:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.