-
Notifications
You must be signed in to change notification settings - Fork 32
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
EOFError when using tcp output plugin #9
Comments
Looking at the code, for output tcp plugin, i see the comment in there for the exception that is expected and i receive the same. my tcp plugin config is on the default that is set to be the client, one thing i don't quite understand is the reason for this open read_socket. Maybe someone can help me in understanding this.
|
I am experiencing the same thing. It usually makes logstash fall over after a bit of time. |
/watch |
@stuart-warren what do you mean by your comment ? |
@Akshaykapoor I also have the same problem, so watching the ticket :) |
Is there a work-around until this is fixed? |
any news? |
Hello, I'm having the same problem of trying to use the logstash 2.3 with default tcp output plugin. My goal is to send json formated messages to sensu. Can anybody help? |
I am seeing this issue on 2.3.4 and 5.0.0-alpha4 with According to the # don't expect any reads, but a readable socket might
# mean the remote end closed, so read it and throw it away.
# we'll get an EOFError if it happens. Where a readable socket without data means that the socket is ready to be closed. This should not be problematic, but if it is causing performance issues for people (probably means that the socket descriptor could be holding onto inodes for Linux/OSX), it needs to be looked into. |
So no progress on this? |
I encounter the same issue. tcp output plugin sending data to tcp input plugin. |
i experienced the same issue. i am using a tcp output at logstash node1 and tcp input at logstash node2. |
This goes deeper. I recently discovered a weird behavior with the GELF output plugin. Later I figured out it discards the first message it's supposed to send to a connection that has been closed by the server side. The situation is simple to simulate on Linux:
This is IMHO a critical bug that needs to be fixed ASAP. |
One more thing I've just discovered: There's indeed a retry attempt (as stated in the source code in posts above) but it successfully retries to send the second message. The first one is gone forever without anyone noticing. |
I'm getting closer now. :-) The reason why the first message is lost is that |
Still seeing this error on 6.6.1. Logstash to logstash transfer of logs and using TLS (crosses the internet to a public end point). |
same problem here in 6.4.2 |
When the output server recovered, logstash still can't recover. And logstash file description still increase. following is exception logs: |
Same, that's what I see. Any time this occurs logstash has to be restarted. |
Any resolution for this ?
|
@deepanshumarwah There's no official resolution. I've fixed this a couple of years ago but nobody seems to be interested: #34 |
(This issue was originally filed by @Akshaykapoor at elastic/logstash#2999)
I have a custom plugin which is inheriting the tcp output plugin. The error that i receive is,
This happens for every alternate event when received by sensu. I tried running with tcp output plugin but the results are still the same EOFError.
The text was updated successfully, but these errors were encountered: