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

Magma mem used grows unbounded during disk full scenario (was: UI displays that the bucket is using more RAM than the allocated quota)

    XMLWordPrintable

Details

    Description

      Steps:

      1. Initialise a 2 node cluster running just the KV service
      2. A bucket named 'mybucket' was created with 512MB RAM quota per node. Total RAM across 2 nodes is 1GB
      3. Disk space in the data directory is pre-allocated to simulate a disk full scenario on both the nodes. fallocate is used for the purpose.
      4. Start loading docs into the bucket.
      5. It was observed that the RAM used shown in the UI is 5.94GB, when the RAM quota allocated for the bucket was 1GB
      6. memUsed metric in /pools/default/buckets/mybucket also shows a very similar value to what is shown in the UI. Content of /pools/default/buckets/mybucket is attached

      Attachments

        1. image-2024-07-12-10-10-39-197.png
          192 kB
          Vesko Karaganev
        2. image-2024-07-12-10-14-31-684.png
          200 kB
          Vesko Karaganev
        3. image-2024-07-12-10-19-16-227.png
          78 kB
          Vesko Karaganev
        4. pools_default_buckets.json
          9 kB
          Vibhav S P
        5. Screenshot 2024-05-16 at 12.41.09 AM.png
          64 kB
          Vibhav S P
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vibhav.sp Vibhav S P
            vibhav.sp Vibhav S P
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty