No. I believe that's a safe value.
I don't know the Python client so I can't tell sorry.
No. I believe that's a safe value.
I don't know the Python client so I can't tell sorry.
Also how much RAM do you have on the machine?
8GB RAM
Is there any other process running on that machine? Anything else than Elasticsearch?
Other than Elasticsearch, flask application is running. To run flask in production, I am using gunicorn and Nginx. Thats it.
How much ram does it need to run?
You should not allocate more than half of the available ram to elasticsearch heap.
When a node is suddenly killed that could be caused by an OOM killer.
I didnt check how much flask is taking, but below is the part of memory info of my server.
MemTotal: 8135944 kB
MemFree: 359508 kB
MemAvailable: 488208 kB
Buffers: 19380 kB
Cached: 732836 kB
SwapCached: 26316 kB
Active: 6523720 kB
server has 8GB RAM so I gave 4gb for heap space.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.