# Logstash pipelines failing as Logstash failed to create queue

**URL:** <https://discuss.elastic.co/t/logstash-pipelines-failing-as-logstash-failed-to-create-queue/283461>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [September 6, 2021, 3:21pm UTC](https://discuss.elastic.co/t/logstash-pipelines-failing-as-logstash-failed-to-create-queue/283461 "2021-09-06T15:21:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Dey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_dey/32/89444_2.png) [@Rahul\_Dey](https://discuss.elastic.co/u/Rahul_Dey)\
**Post date:** [September 6, 2021, 3:21pm UTC](https://discuss.elastic.co/t/logstash-pipelines-failing-as-logstash-failed-to-create-queue/283461/1 "2021-09-06T15:21:16Z")

</div>

I am running logstash in a docker container. There are 7-8 logstash pipelines defined under pipelines.yml file. Queue type for every pipeline is "persisted". Everything was working fine but recently whenever I am starting the docker container, I am seeing all the logstash pipelines are failing with the same error.

```auto
bidos-logstash_1 | warning: thread "Converge PipelineAction::Create<webscada_stream.conf>" terminated with exception (report_on_exception is true):
bidos-logstash_1 | LogStash::Error: Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<webscada_stream.conf>`
bidos-logstash_1 | create at org/logstash/execution/ConvergeResultExt.java:109
bidos-logstash_1 | add at org/logstash/execution/ConvergeResultExt.java:37
bidos-logstash_1 | converge_state at /usr/share/logstash/logstash-core/lib/logstash/agent.rb:339
bidos-logstash_1 | [2021-09-02T12:11:01,107][ERROR][org.logstash.execution.AbstractPipelineExt] Logstash failed to create queue.
bidos-logstash_1 | org.logstash.LockException: The queue failed to obtain exclusive access, cause: Lock held by this virtual machine on lock path: /usr/share/logstash/data/queue/webscada_stream.conf/.lock

```

Can somebody please help as I am not able to figure out what is going wrong here.

---

<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:** [October 4, 2021, 3:21pm UTC](https://discuss.elastic.co/t/logstash-pipelines-failing-as-logstash-failed-to-create-queue/283461/2 "2021-10-04T15:21:33Z")

</div>

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