# Logstash - shutdown process appears to be stalled

**URL:** <https://discuss.elastic.co/t/logstash-shutdown-process-appears-to-be-stalled/84916>\
**Category:** Logstash\
**Created:** [May 8, 2017, 10:22am UTC](https://discuss.elastic.co/t/logstash-shutdown-process-appears-to-be-stalled/84916 "2017-05-08T10:22:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sLuvpreet33](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sluvpreet33/32/50626_2.png) [@sLuvpreet33](https://discuss.elastic.co/u/sLuvpreet33)\
**Post date:** [May 8, 2017, 10:22am UTC](https://discuss.elastic.co/t/logstash-shutdown-process-appears-to-be-stalled/84916/1 "2017-05-08T10:22:26Z")

</div>

I am getting this error out of nowhere. Logstash was running correctly and then this error occured,

```
[2017-05-08T10:16:43,819][WARN][logstash.agent] stopping pipeline {:id=>"main"}
[2017-05-08T10:16:49,190][WARN][logstash.shutdownwatcher] {"inflight_count"=>0, "stalling_thread_info"=>{"other"=>[{"thread_id"=>24, "name"=>"[main]<beats", "current_call"=>"[...]/vendor/bundle/jruby/1.9/gems/logstash-input-beats-3.1.15-java/lib/logstash/inputs/beats.rb:196:in `run'"}, {"thread_id"=>22, "name"=>"[main]>worker0", "current_call"=>"[...]/logstash-core/lib/logstash/util/wrapped_synchronous_queue.rb:127:in `synchronize'"}]}}
[2017-05-08T10:16:49,193][ERROR][logstash.shutdownwatcher] The shutdown process appears to be stalled due to busy or blocked plugins. Check the logs for more information.

```

This is my logstash conf file,

```
input {
    beats {
        port => "5043"
    }
}

filter {
   if [type] in ["grafana", "netdata", "api"] {
         grok{
           match => ["message" , "%{COMBINEDAPACHELOG}+%{GREEDYDATA:extra_fields}"]
           overwrite => ["message"]
         }
        mutate {
           convert => ["response", "integer"]
           convert => ["bytes", "integer"]
           convert => ["responsetime", "float"]
         }
        geoip {
           source => "clientip"
           target => "geoip"
           add_tag => ["nginx-geoip"]
        }
        date {
           match => ["timestamp" , "dd/MMM/YYYY:HH:mm:ss Z"]
           remove_field => ["timestamp"]
        }
        useragent {
           source => "agent"
        }
   }

}

output {
      elasticsearch {
        hosts => ["localhost:9200"]
        index => "%{type}_indexer"
    } 
}

```

Every thing was running good, I just restarted it and this error came up.

---

<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:** [June 5, 2017, 10:35am UTC](https://discuss.elastic.co/t/logstash-shutdown-process-appears-to-be-stalled/84916/2 "2017-06-05T10:35:32Z")

</div>

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