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

Provide forestdb memory usage statistics

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.5.0
    • Fix Version/s: feature-backlog
    • Component/s: forestdb
    • Labels:
      None

      Description

      This request is to provide more detailed memory usage statistics for forestdb. Right now, buffercache memory usage is the only memory stat provided. GSI opens up in-memory snapshots(every 200ms) and with long running scans there can be lot of those open at any given point of time. Also I think iterators cause some temporary allocations inside forestdb. It seems there can be sizable amount of memory usage outside of buffercache.

      The goal is for Indexer to know the memory usage better so it can throttle appropriately to avoid running into OOM scenarios(e.g. MB-19883). Also it will help us provide better sizing estimate to customers.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

            Hide
            abhinav Abhinav Dangeti added a comment -

            I think we can still target this for spock timeframe, we're working on changing the index implementation for spock.

            Show
            abhinav Abhinav Dangeti added a comment - I think we can still target this for spock timeframe, we're working on changing the index implementation for spock.
            Hide
            djp Don Pinto [X] (Inactive) added a comment -

            Ok, Thanks!

            Show
            djp Don Pinto [X] (Inactive) added a comment - Ok, Thanks!

              People

              Assignee:
              abhinav Abhinav Dangeti
              Reporter:
              deepkaran.salooja Deepkaran Salooja
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty