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

multiget_slice calls do not close files resulting in file descriptor leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • None
    • Ubuntu 10.04

    • Critical

    Description

      Insert 1000 rows into a super column family. Read them back in a loop using multiget_slice. Note leaked file descriptors with lsof:
      lsof -p `ps ax | grep [C]assandraDaemon | awk '

      {print $1}

      '` | awk '

      {print $9}

      ' | sort | uniq -c | sort -n | tail -n 5

      Looks like SSTableNamesIterator is never closing the files it creates via the sstable ...?

      This is similar to CASSANDRA-1178 except for use of multiget_slice instead of get_slice

      Attachments

        1. 0001-trunk-1188.patch
          5 kB
          Matthew F. Dennis

        Activity

          People

            mdennis Matthew F. Dennis
            wr0ngway Matt Conway
            Matthew F. Dennis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: