You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2013/08/21 18:34:53 UTC

[jira] [Commented] (KAFKA-1017) High number of open file handles in 0.8 producer

    [ https://issues.apache.org/jira/browse/KAFKA-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746545#comment-13746545 ] 

Neha Narkhede commented on KAFKA-1017:
--------------------------------------

Thanks for fixing this issue, Swapnil. The patch looks good to me. +1
                
> High number of open file handles in 0.8 producer
> ------------------------------------------------
>
>                 Key: KAFKA-1017
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1017
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>         Attachments: kafka-1017.patch
>
>
> Reported by Jun Rao:
> For over-partitioned topics, each broker could be the leader for at least 1 partition. In the producer, we randomly select a partition to send the data. Pretty soon, each producer will establish a connection to each of the n brokers. Effectively, we increased the # of socket connections by a factor of n, compared to 0.7.
> The increased number of socket connections increases the number of open file handles, this could come pretty  close to the OS limit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira