[ https://issues.apache.org/jira/browse/KAFKA-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16387525#comment-16387525 ]
JiminHsieh commented on KAFKA-1623: ----------------------------------- Can I work on this one? Thanks! I have some ideas for previous comments. I didn't have a good idea about 500ms waiting time though, I am working on it, but I think we could give a default value for the backlog by OS instead of the default value of JDK - 50. At Linux and macOS, it will be 128 At Win, it will be 200. > kafka is sometimes slow to accept connections > --------------------------------------------- > > Key: KAFKA-1623 > URL: https://issues.apache.org/jira/browse/KAFKA-1623 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.10.1.0 > Reporter: Shlomi Hazan > Priority: Major > Labels: performance > > from SocketServer.scala:144 > the Acceptor can wait up to 500 millis before processing the accumulated FDs. > Also, the backlog of the acceptor socket seems not to be defined, which may > be problematic if all 500 millis are elapsed before the thread awakes. > setting the backlog is doable using the proper ServerSocket Ctor, and maybe > better be provisioned via configuration. -- This message was sent by Atlassian JIRA (v7.6.3#76005)