Check if Logstash is Stuck

Is there any way to check if Logstash is stuck besides restarting it and seeing that the Logstash process failed to terminate?

what do you mean stuck?

You mean not shutting down? there is a LS_KILL (or somthing like that) in the /etc/sysconfig/logstash that you can change. by default the stop script will let LS gracefully shutdown. (No matter how long it takes) this is so messages don't get lost

Enabling the kill will let it try to shutdown and then after a couple iterations will kill -9 the process

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.