FTR, the problem with the 4096 character limit is a known issue: https://issues.apache.org/jira/browse/KAFKA-4931
Cheers, Tom On 6 July 2017 at 13:55, Kamal C <kamal.chandraprak...@gmail.com> wrote: > 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_gh...@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 > > >