-
Notifications
You must be signed in to change notification settings - Fork 76
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
Restarting pipeline "stalled" indefinitely and will not shut down #119
Comments
Do you mean that no data is required, or that it doesn't matter what data is given? The backtrace indicates that it is failing to shut down the event loop, which uses the default 15-second timeout for each of two phases (definitely less than your four minutes). To narrow down:
Is the port you've chosen,
|
I have the tcp listener there for a firewall which does a tcp connection to the client to make health-check connections to for load balancing purposes. So the situation would be that one or more connections established and all closed.
No, running You say there is a 15-second timeout during the shut down loop? The firewall makes connections every 10 seconds is there a chance it could be interfering? |
Sorry, that was unclear. I meant that no data is sent to the tcp listener. The firewall simply sends a |
Ah. The firewall
Whatever blockage is happening in this plugin here, appears to be occurring because Netty (the Nonblocking IO adapter being used by the plugin for the low-level TCP implementation) is... blocking. I'm glad to help chase it down, but would appreciate your help in refining the reproduction steps. There are cases documented in RFC739 where receiving
Can you provide a packet capture of the relevant bits from the connection, preferably filtered to only contain information about connections that exhibit the symptom? If it contains sensitive information and you're willing to trust me with it, feel free to encrypt with my GPG public key and provide your public key so I can decrypt. |
Sure. I used Wireshark to capture and it's compressed with 7-zip. There isn't any sensitive information. Looks like the
I also manually shutdown logstash during the packet capture so you can see what is happenining when Logstash does not respond. Thank you. |
the pipeline will not reload if the configuration changes.
Sample Data: none required
Steps to Reproduce: start the pipeline with tcp input, then make a change to the configuration file so the pipeline reloads
logstash-plain.log
that [logstash.shutdownwatcher ] event will repeat indefinitely until logstash is terminated. I let it go for 4 minutes
Then when I shut down logstash, there is still a "java.exe" process that cannot be terminated through task manager. If I try to start logstash again, it will through an exception and not start:
The text was updated successfully, but these errors were encountered: