logstash-plugins / logstash-input-google_cloud_storage

Apache License 2.0
4 stars 9 forks source link

Logstash shutdown stalled #15

Open apenen opened 3 years ago

apenen commented 3 years ago

Logstash information:

Please include the following information:

  1. Logstash version: 7.10.2
  2. Logstash installation source: DEB
  3. How is Logstash being run: systemd
  4. How was the Logstash Plugin installed: logstash-plugin install logstash-input-google_cloud_storage

JVM

  1. JVM version: 11.0.5
  2. JVM installation source: DEB openjdk-11-jdk:amd64
  3. Value of the JAVA_HOME environment variable if set.

OS version Linux 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior: Logstash never stops. Logstash waits for this plugin to finish...

Steps to reproduce:

  1. Install logstash
  2. Install plugin
  3. Configure input
  4. Start logstash with systemd
  5. Try to stop using systemd

Provide logs (if relevant): [2021-08-27T14:21:22,630][ERROR][org.logstash.execution.ShutdownWatcherExt] The shutdown process appears to be stalled due to busy or blocked plugins. Check the logs for more information. [2021-08-27T14:22:27,152][WARN ][org.logstash.execution.ShutdownWatcherExt] {"inflight_count"=>0, "stalling_threads_info"=>{"other"=>[{"thread_id"=>171, "name"=>"[main]<google_cloud_storage", "current_call"=>"[...]/vendor/bundle/jruby/2.5.0/gems/logstash-input-google_cloud_storage-0.11.1-java/lib/logstash/inputs/cloud_storage/client.rb:22:in `list_blobs'"}]...