Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1017

High number of open file handles in 0.8 producer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • producer
    • None

    Description

      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.

      Attachments

        1. kafka-1017.patch
          8 kB
          Swapnil Ghike

        Activity

          People

            swapnilghike Swapnil Ghike
            swapnilghike Swapnil Ghike
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: