kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Moore <nemo...@adobe.com>
Subject Re: Kafka running but not listening to port 9092
Date Fri, 31 Mar 2017 10:24:33 GMT
I don't know what the problem is but have you looked through the logs? If that doesn't suggest
the resolution try posting them here.

From: Rafael Telles <rafaelt@simbioseventures.com>
Sent: 29 March 2017 14:53:27
To: users@kafka.apache.org
Subject: Kafka running but not listening to port 9092

Hello there!

I have two clusters of Kafka brokers, one of them (with 15 brokers + 3
Zookeeper servers) became sick (a lot of under-replicated partitions,
throwing a lot of NotEnoughReplicasExceptions). I logged in some of the
brokers that other couldn't connect to, and I found out that they were all
running their Kafka process, but they were not listening to the default TCP
port (9092) as expected:

root@dc3-kafka-02:/home/kafka/kafka_2.11- ps aux | grep kafka
root 14055 21.6 33.6 23001236 5513176 ? Sl Mar23 1866:20
/usr/lib/jvm/java-8-oracle/bin/java -Xms2G -Xmx6G -server -XX:+UseG1GC
-XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35
-XX:+DisableExplicitGC -Djava.awt.headless=true
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote
file:/home/kafka/kafka_2.11- -cp
kafka.Kafka /home/kafka/kafka_2.11-
root 28615 0.0 0.0 14180 1024 pts/0 S+ 13:35 0:00 grep --color=auto kafka

root@dc3-kafka-02:/home/kafka/kafka_2.11- netstat -tulpn | grep
...returns empty

If I restart Kafka in these brokers, they start listening to 9092 again.

Thanks so much for your help, best regards.


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