The issue might be due to https://unix.stackexchange.com/questions/343353/ps-only-prints-up-to-4096-characters-of-any-processs-command-line
I guess the issue is with kafka version >0.10.0. More details: https://github.com/apache/kafka/pull/2515 Regards, Ravi On Tue, May 9, 2017 at 12:01 PM, Vedant Nighojkar <vnig...@us.ibm.com> wrote: > Hi Team, > > We are using Apache Kafka in one of our products. We support Windows, AIX > and Linux RedHat6 and above. > > I am seeing an issue with the kafka-server-stop.sh script on RedHat7 > machines. This used to work with RedHat6. > > ps ax |grep -i 'kafka.Kafka' - this is not able to find any running Kafka > processes, because *ps ax* does not return the full output of the > processes. It returns a truncated output (https://access.redhat.com/ > solutions/35925) and the process is thus not killed. > > Is there a solution / work-around for this? > > Thanks and Regards, > > *Vedant Nighojkar* > Software Engineer > IBM Analytics > ------------------------------ > *Phone:*978-899-2942 <(978)%20899-2942> > *E-mail:* *vnig...@us.ibm.com* <vnig...@us.ibm.com> > [image: IBM] > > 550 King St, > Littleton, MA 01460 > United States > > > -- *Regards,* *Ravi*