Skip to content

Check graphite closes connection#30

Open
DanilSerd wants to merge 1 commit into
logstash-plugins:mainfrom
DanilSerd:master
Open

Check graphite closes connection#30
DanilSerd wants to merge 1 commit into
logstash-plugins:mainfrom
DanilSerd:master

Conversation

@DanilSerd

Copy link
Copy Markdown

We seen issues where remote would drop the connection and the local socket would get stuck in CLOSE_WAIT, not forwarding any metrics. This seem to have resolved the issue.

@socket.puts(message)
@socket.read_nonblock(1)
rescue Errno::EAGAIN
@logger.debug("No data, connection to graphite is till alive", :host => @host, :port => @port)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

till -> still ?

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

Successfully merging this pull request may close these issues.

2 participants