We have a script to stop the logstash, which inturn runs 'kill -15 '. This script is being called as part of system init file which in turn stops as part of server reboot.
However, recently we see issues in prod while stopping logstash process. Where system stop is failing with timeout exception. We tried increasing the timeout but still getting the same exception.
Tested the same in dev host and logstash is not stopping instead we are getting the below warning [even after two hours of running kill command].
Kindly let us know, any reason and solution for the same.
I also saw similar topic raised but dont see any proper solution for the same. In one of them i see, the user fixed jruby but not sure what exactly was done. [The shutdown process appears to be stalled due to busy or blocked plugins]
P.S : Logstash version is 5.6.10