-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logstash breaks if reload or restarted with gelf input on a running pipeline #66
Comments
+1 same issue here. Logstash version 7.17.1
|
Another hit in Logstash version 8.10.4
|
I'm having the same issue. Logstash version 8.11. Using auto-reload. Any known issues and workaround for this?
|
Running Logstash 7.6.0 with plugin logstash-input-gelf-3.3.0 on a Linux Centos 7 server:
That is my input conf:
input {
}
Commands to reload:
#> jps
292 Jps
63 Logstash
#> kill -s SIGHUP 63
Logstash aborts raising an IOError:
...
[2020-03-23T01:33:54,082][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2020-03-23T01:34:21,422][WARN ][logstash.runner ] SIGHUP received.
[2020-03-23T01:34:22,734][INFO ][logstash.pipelineaction.reload] Reloading pipeline {"pipeline.id"=>:"pipeline-xxxxxxxxx"}
warning: thread "Ruby-0-Thread-21: :1" terminated with exception (report_on_exception is true):
IOError: stream closed in another thread
accept at org/jruby/ext/socket/RubyTCPServer.java:157
tcp_listener at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-gelf-3.3.0/lib/logstash/inputs/gelf.rb:127
run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-gelf-3.3.0/lib/logstash/inputs/gelf.rb:76
[2020-03-23T01:34:22,865][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<IOError: stream closed in another thread>, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:157:in
accept'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-gelf-3.3.0/lib/logstash/inputs/gelf.rb:127:in
tcp_listener'", "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-gelf-3.3.0/lib/logstash/inputs/gelf.rb:76:in `block in run'"]}[2020-03-23T01:34:22,900][INFO ][logstash.javapipeline ] Pipeline terminated {"pipeline.id"=>"pipeline-xxxxxxxx"}
[2020-03-23T01:34:22,913][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
The text was updated successfully, but these errors were encountered: