# Node.max\_local\_storage\_nodes error ruuning elasticsearch

**URL:** <https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931>\
**Category:** Elasticsearch\
**Created:** [July 20, 2017, 12:16pm UTC](https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931 "2017-07-20T12:16:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marwa](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@marwa](https://discuss.elastic.co/u/marwa)\
**Post date:** [July 20, 2017, 12:16pm UTC](https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931/1 "2017-07-20T12:16:35Z")

</div>

i installed elasticsearch5.5.0 ,i did run it and evrything was ok i did't change anything about its configuration but i rerun it and something is wrong ,this error apeared to me ,i don(t know how to fix it

[WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[/opt/elasticsearch-5.5.0/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])?

i know it's a warn but it stops elasticsearch from running  
i changed the node.max\_local\_storage\_nodes in elasticsearch.yml ,i tryed to put it 3 but teh same error reappeared

please any help !!!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 20, 2017, 1:39pm UTC](https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931/2 "2017-07-20T13:39:34Z")

</div>

You already have an elasticsearch instance running more likely.

---

<div class="post-metadata">

**Author:** ![marwa](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@marwa](https://discuss.elastic.co/u/marwa)\
**Post date:** [July 20, 2017, 1:40pm UTC](https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931/3 "2017-07-20T13:40:50Z")

</div>

thank you , i figured out infact ,i killed the process java then it worked

---

<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:** [August 17, 2017, 1:40pm UTC](https://discuss.elastic.co/t/node-max-local-storage-nodes-error-ruuning-elasticsearch/93931/4 "2017-08-17T13:40:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
