[ https://issues.apache.org/jira/browse/KAFKA-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196540#comment-15196540 ]
Mart Haitjema commented on KAFKA-2078: -------------------------------------- I posted a [comment|https://issues.apache.org/jira/browse/KAFKA-3205?focusedCommentId=15196471&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15196471] in KAFKA-3205 but this issue seems related as we began experiencing similar errors periodically with our producers (using kafka 0.8.2.1) after our brokers where upgraded to 0.9. This turned out to be due to the fact that the brokers now timeout idle connections after a default of 10 minutes. Increasing the connections.max.idle.ms in the broker config solved this problem for us. > 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)