# Logstash multiple instances running together error

**URL:** <https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759>\
**Category:** Logstash\
**Created:** [January 3, 2019, 7:38am UTC](https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759 "2019-01-03T07:38:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apple23](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Apple23](https://discuss.elastic.co/u/Apple23)\
**Post date:** [January 3, 2019, 7:38am UTC](https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759/1 "2019-01-03T07:38:55Z")

</div>

[LogStash::Runner] runner - Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.  
how can i know which all instances are running  
and how to kill extra instances running

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [January 3, 2019, 3:07pm UTC](https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759/2 "2019-01-03T15:07:30Z")

</div>

> [@Apple23](#):
>
> how can i know which all instances are running  
> and how to kill extra instances running

That would depend on which OS you are running. In Windows check the task manager in Linux check with the ps command and then kill the pid with the kill -9 command or stop the logstash service.

---

<div class="post-metadata">

**Author:** ![Apple23](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Apple23](https://discuss.elastic.co/u/Apple23)\
**Post date:** [January 6, 2019, 6:09am UTC](https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759/3 "2019-01-06T06:09:22Z")

</div>

Thanks for the reply.When i restarted the system everything became fine

---

<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:** [February 3, 2019, 6:09am UTC](https://discuss.elastic.co/t/logstash-multiple-instances-running-together-error/162759/4 "2019-02-03T06:09:29Z")

</div>

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