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

[BP 7.2.5]- Increase in memory usage during instance close with mvccPurger running on a large instance with high purge ratio

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      The issue was seen in CBSE-16173.

      Problem:

      Although purger begins scan if there is no memory pressure (doProceed check). But once scanning starts, it depends on hasMemoryPressure check. With monitor stopped during close, the check is no longer updated. If purger was already active during this and the instance is fairly large with a high purge ratio, there is a possibility that it can continue to run till the completion of the batch - which can bring in a lot of pages and records (~55M pages). Note during close the instance is also no longer under swapper action. 

      Attachments

        Issue Links

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

          Activity

            People

              saptarshi.sen Saptarshi Sen
              srinath.duvuru Srinath Duvuru
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty