kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal C <kamal.chandraprak...@gmail.com>
Subject Re: Kafka shutdown gracefully
Date Thu, 06 Jul 2017 12:55:00 GMT
Don't use `kill -9 PID`. Use `kill -s TERM PID` - sends a signal to the
process to end, and will trigger any cleanup routines before exiting.

Since the output of the `ps` command used by kafka-server-stop.sh exceeds
4096 characters. It shows "No kafka server to stop"

On Thu, Jul 6, 2017 at 3:25 AM, Ghosh, Achintya (Contractor) <
Achintya_Ghosh@comcast.com> wrote:

> Hi team,
>
> What is the command to shutdown kafka server gracefully instead of using
> 'kill -9 PID'?
>
> If we use bin/kafka-server-stop.sh it shows "No kafka server to stop" but
> the service actually running and I see the PID by using "ps -ef|grep kafka"
>
>
> Thanks
> Achintya
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message