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

[jira] [Resolved] (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:all-tabpanel ]

Jun Rao resolved KAFKA-1017.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

Good patch. +1. Committed to 0.8.
                
> 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
>          Components: producer 
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>             Fix For: 0.8
>
>         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