• Register
0 votes
257 views

Problem :

I am facing an issue with a systemd config for ElasticSearch as follows:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

 I had this faced this problem from an application running in a docker container. 

Firstly no need to increase the virtual memory for Elasticsearch at the container level, just need to do it for the host machine by running following command:

sudo sysctl -w vm.max_map_count=262144

and after running this command just restart your docker-containers.

Setting this max_map_count this way will not persist upon the restart of the machine on which is running the docker container so you need to save it in a more persistent manner.

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 51.3k points
1 vote
1 answer 621 views
621 views
Problem : Getting following error related to content-type header {"error":"content-type header [application/x-www-form-urlencoded] is not supported","status":406} How to resolve it?
asked Nov 11, 2019 peterlaw 6.9k points
0 votes
1 answer 1.7K views
1.7K views
Problem : I am very new to Curl. I have recently started learning Curl. Whenever I try to connect to the Elasticsearch using below command curl http://localhost:9200 it is working properly. But when I try to run the following command curl http://IpAddress: ... showing me below error “Curl: (7) failed to connect to localhost port 9200: connection refused” How can I resolve above error?
asked Feb 20, 2020 mphil 2.3k points
1 vote
1 answer 1 view
1 view
Problem: Can anyone tell me the solution of this problem? vm max_map_count
asked 4 days ago MUHAMMAD MUNEEB 80k points
0 votes
1 answer 1.7K views
1.7K views
Problem : I want to send a JSON to elasticSearch. I am trying using Postman and SOAPUI The data I am using is as follows: [{"column1": "abc", "column2": "def", "column3": "dghi", "column4": "jkl", "column5": "mno"}, {"column1": "pqr", "column2": "stu", "column3" ... "def", "column3": "dghi", "column4": "jkl", "column5": "mno"} Then it works fine. I am unable to understand that what is going wrong.
asked Nov 20, 2019 peterlaw 6.9k points
1 vote
1 answer 21 views
21 views
Problem: Hi want a create a project for my asssinment and I faced a lot of issue about insufficient memory for the Java Runtime Environment to continue error. The issue: <REMOTE>># There is insufficient memory for the Java Runtime Environment to continue. <REMOTE>># ... of user threads are consumed based on the allocation Can anyone explain me why this is happening and help me to solve this out.
asked Apr 8, 2020 LizzyM 6.1k points
0 votes
1 answer 2 views
2 views
Problem: Please can anyone tell me the right procedure to do it? my computer is low on memory windows 10
asked 4 days ago Ifra 24.4k points
0 votes
1 answer 1 view
1 view
Problem: Do you have any suggestions about how I can resolve this? Thank you so much! How will you find if your application is running on low memory, or out of memory?
asked Mar 30 tuhin1 47.2k points
0 votes
1 answer 2 views
2 views
Problem; I need someone&rsquo;s help to fix it... unable to complete previous operation due to low memory android
asked Mar 31 Ifra 24.4k points