Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-4820

Add a close() method to CRAR to prevent leaking file descriptors.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.7
    • None
    • None
    • Normal

    Description

      The problem is that under heavy load Finalizer daemon is unable to keep up with number of "source" and "channel" fields from CRAR to finalize (as FileInputStream has custom finalize() which calls close inside) which creates memory/cpu pressure on the machine.

      Attachments

        1. CASSANDRA-4820.patch
          0.9 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            xedin Pavel Yaskevich
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: