Using start scripts with supervisor usually doesn't work. Java is probably
a grandchild of supervisor and therefore not getting the term signal and
not exiting. Sure the start script exits, but there's probably a java
process hanging out; check ps.

please excuse my brevity on this mobile device
On Oct 22, 2012 9:06 AM, "howard chen" <howac...@gmail.com> wrote:

> I am using supervisor to manage Kafka, with the config:
>
> [program:kafka]
> command=/opt/kafka/bin/kafka-server-start.sh
> /opt/kafka/config/server.properties
> directory=/opt/kafka
> user=kafka
> autostart=true
> autorestart=true
> startretries=10
> stdout_logfile=/opt/kafka/logs/kafka.log
>
> I was able to start Kafka, but not able to stop Kafka completely, as
> when I start Kafka after the stop, it said the port is being used.
>
> So definitely the previous shutdown was not complete, anyone got an
> idea what is the issue?
>
> Thanks.
>

Reply via email to