[ https://issues.apache.org/jira/browse/KAFKA-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392123#comment-14392123 ]
Aravind commented on KAFKA-2078: -------------------------------- Hi Jun, There is no ZK session timeout on the broker. I did increase ZK session timeout from 6000 ms to 10000ms. It is weird. Some times I get Connection timed out and some times EOF exception. When those occur I see hung socket/sockets "send-q" by running command netstat: in the below example 195480 bytes would be there until errors out. Some times after 2-3 minutes those would clear and everything would written to topics. tcp 0 0 ourhost:56155 kafkaserver21:XmlIpcRegSvc ESTABLISHED tcp 0 0 ourhost:56169 kafkaserver21:XmlIpcRegSvc ESTABLISHED tcp 0 195480 ourhost:47198 kafkaserver22:XmlIpcRegSvc ESTABLISHED > Getting Selector [WARN] Error in I/O with host java.io.EOFException > ------------------------------------------------------------------- > > Key: KAFKA-2078 > URL: https://issues.apache.org/jira/browse/KAFKA-2078 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 0.8.2.0 > Environment: OS Version: 2.6.39-400.209.1.el5uek and Hardware: 8 x > Intel(R) Xeon(R) CPU X5660 @ 2.80GHz/44GB > Reporter: Aravind > Assignee: Jun Rao > > When trying to Produce 1000 (10 MB) messages, getting this below error some > where between 997 to 1000th message. There is no pattern but able to > reproduce. > [PDT] 2015-03-31 13:53:50 Selector [WARN] Error in I/O with "our host" > java.io.EOFException at > org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:62) > at org.apache.kafka.common.network.Selector.poll(Selector.java:248) at > org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:192) at > org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:191) at > org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:122) at > java.lang.Thread.run(Thread.java:724) > This error I am getting some times @ 997th message or 999th message. There is > no pattern but able to reproduce. -- This message was sent by Atlassian JIRA (v6.3.4#6332)