Iam using elasticsearch on our development machine now. Will we move forward productively in a few weeks. Today I scored “top” and I was shocked by what I saw.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28972 elastics 20 0 27.4g 1.4g 39m S 186 4.3 2:11.19 java
This is normal when elasticsearch uses so much memory. I never tuned like that. What is the ideal configuration if we have up to 5 indexes on the same machine with 32 GB of RAM. How many Replicas / Shards should I configure? How can I control memory usage?
I do not want to get the same problems that we have with Solr => Unexpected shutdowns.
Thank you for your help!
source
share