# Elasticsearch stops running everytime

**URL:** <https://discuss.elastic.co/t/elasticsearch-stops-running-everytime/22626>\
**Category:** Elasticsearch\
**Created:** [March 12, 2015, 6:16am UTC](https://discuss.elastic.co/t/elasticsearch-stops-running-everytime/22626 "2015-03-12T06:16:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashin](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@yashin](https://discuss.elastic.co/u/yashin)\
**Post date:** [March 12, 2015, 6:16am UTC](https://discuss.elastic.co/t/elasticsearch-stops-running-everytime/22626/1 "2015-03-12T06:16:20Z")

</div>

Hello Guys,  
I have successfully installed elasticsearch on my windows platform for dev purposes. However, when i installed it on my VPS which is linux based, it runs and after a while it stops by itself. When I start the service, I get the following warning message :

root@vps15042 [~]# sudo service elasticsearch start  
error: permission denied on key 'vm.max\_map\_count'  
Starting elasticsearch: [OK]  
root@vps15042 [~]# log4j:WARN No appenders could be found for logger (common)  
log4j:WARN Please initialize the log4j system properly.  
log4j:WARN See [http://logging.apache.org/log4j/1.2/faq.html#noconfig](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for morefo.  
\*\*\* glibc detected \*\*\* /usr/bin/java: malloc(): memory corruption: 0x00007f6106670 \*\*\*

What should be done to correct this issue? I have read somewhere that the files logging.yml and elasticsearch.yml must be placed. Where should they be placed and what must be their contents for it to work? I have tried different things but I am still unable to make it run properly without stopping and without warning message.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:27am UTC](https://discuss.elastic.co/t/elasticsearch-stops-running-everytime/22626/2 "2017-07-06T00:27:19Z")

</div>


