Skip to content
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

Gelf listener dies when used at the same time as other inputs #58

Open
mijamo opened this issue Sep 13, 2017 · 0 comments
Open

Gelf listener dies when used at the same time as other inputs #58

mijamo opened this issue Sep 13, 2017 · 0 comments

Comments

@mijamo
Copy link

mijamo commented Sep 13, 2017

I have a weird issue. My gelf input was working just fine until recently, but since I added another input (from google pub/sub), it crashes after some time because of a SocketError. the timing for the failure seems to be always around 1 day.

The error thrown is the following : <SocketError: recvfrom: name or service not known> with a stacktrace pointing to

line, client = @udp.recvfrom(8192)

That error seems to completely crash Logstash, which is maybe a separate issue, as I would except the listener to just restart in such a situation.

If I remove the google_pubsub listener, gelf works again as expected (now running for 7 days without issue, but with pubsub it was consistently failing after 1 day 6 times in a row).

  • Version: Latest (3.0.6)
  • Operating System: Docker Logstash
  • Config File:
input {
  gelf {
    host => "::"
    type => "gelf"
  }

  google_pubsub {
    project_id => "my-project"
    topic => "my-topic"
    subscription => "logstash-sub"
    json_key_file => "/usr/share/logstash/google_pubsub/key.json"
  }
}
  • Steps to Reproduce:

    • Create a config with only gelf -> everything works
    • Create a config with gelf + another input -> Logstash crashes after 1 day
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant