Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60850

After Indexing completion, even after 10hours of time, there is nearly 37% memory which sums upto 22+GiB is in use and never freed up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 7.6.2
    • 7.6.0
    • fts
    • Untriaged
    • 0
    • No

    Description

      Test environment:

      • 5 dedicated fts nodes with 16cpus and 64GiB RAM each node
      • 60Million document on KV
      • 60Million documents have vectors of dimension 1536

      Test Steps:

      • Loaded 60Mil documents on to KV
      • Created indexing with 18 partitions per node
      • I have only one index with l2_norm
      • Indexing took 1hour 17mins for 60Million documents without any OOM but memory almost went up to 99% on few nodes.
      • Left the cluster idle for nearly 10+ hours to see usage comes down, but never came down.

       

      Below logs will will help understanding the behaviour using promtimer. Also attached images below which confirms the behaviour

       

      Attachments

        1. fts_num_bytes_used_ram.png
          fts_num_bytes_used_ram.png
          324 kB
        2. fts_num_files_on_disk.png
          fts_num_files_on_disk.png
          329 kB
        3. fts_num_mutations_to_index.png
          fts_num_mutations_to_index.png
          360 kB
        4. fts_total_gc.png
          fts_total_gc.png
          282 kB
        5. image-2024-02-19-16-57-59-721.png
          image-2024-02-19-16-57-59-721.png
          1.26 MB
        6. image-2024-02-19-16-58-56-107.png
          image-2024-02-19-16-58-56-107.png
          1.09 MB
        7. image-2024-02-19-16-59-43-769.png
          image-2024-02-19-16-59-43-769.png
          942 kB
        8. indexing_and_merger_stats.png
          indexing_and_merger_stats.png
          946 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            abhinav Abhi Dangeti
            ashokkumar.alluri Ashok Alluri
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty