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

Native Memory Leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.9, 0.8.5
    • None
    • None
    • Low

    Description

      We have memory issues with long running servers. These have been confirmed by several users in the user list. That's why I report.

      The memory consumption of the cassandra java process increases steadily until it's killed by the os because of oom (with no swap)

      Our server is started with -Xmx3000M and running for around 23 days.

      pmap -x shows

      Total SST: 1961616 (mem mapped data and index files)
      Anon RSS: 6499640
      Total RSS: 8478376

      This shows that > 3G are 'overallocated'.

      We will use BRAF on one of our less important nodes to check wether it is related to mmap and report back.

      Attachments

        1. 2868-v1.txt
          0.9 kB
          Chris Burroughs
        2. 2868-v2.txt
          8 kB
          Brandon Williams
        3. 2868-v3.txt
          10 kB
          Jonathan Ellis
        4. 48hour_RES.png
          275 kB
          Chris Burroughs
        5. low-load-36-hours-initial-results.png
          181 kB
          Chris Burroughs

        Activity

          People

            brandon.williams Brandon Williams
            doubleday Daniel Doubleday
            Brandon Williams
            Jonathan Ellis
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: