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

Collecting stats archiver ets tables leads to a huge increase in ns_server memory consumption

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 6.5.0, 6.0.3, 5.5.6
    • 6.5.0, 6.0.4
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      1. Create 300 secondary indexes.
      2. Wait until a day worth of stats is populated.
      3. Try collecting diagnostics.
      4. On my laptop, ns_server memory usage goes up from ~ 1.7GiB to ~10GiB, at which point ns_server gets killed by the OOM killer.

      Attachments

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

        Activity

          Build couchbase-server-7.0.0-1096 contains ns_server commit c44f3d3 with commit message:
          MB-37077 Drop handling of pre-4.0 nodes in /diag.

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1096 contains ns_server commit c44f3d3 with commit message: MB-37077 Drop handling of pre-4.0 nodes in /diag.

          Build couchbase-server-7.0.0-1096 contains ns_server commit fd32ead with commit message:
          MB-37077 Drop handling of pre-3.0 nodes in /diag.

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1096 contains ns_server commit fd32ead with commit message: MB-37077 Drop handling of pre-3.0 nodes in /diag.

          Build couchbase-server-7.0.0-1096 contains ns_server commit 823c209 with commit message:
          MB-37077 Drop support for collecting logs via /diag.

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1096 contains ns_server commit 823c209 with commit message: MB-37077 Drop support for collecting logs via /diag.

          Mahesh Mandhare - Can you please validate this defect.

          ritam.sharma Ritam Sharma added a comment - Mahesh Mandhare - Can you please validate this defect.

          Build 6.5.0-4926

          OS: centOS7
          Created 300 indexes and loaded ~100K items in a bucket.
          Waited for ~40hours and collected logs using cbcollect_info.
          Verified that memory usage for beam.smp does not go up during log collection.

          mahesh.mandhare Mahesh Mandhare (Inactive) added a comment - Build 6.5.0-4926 OS: centOS7 Created 300 indexes and loaded ~100K items in a bucket. Waited for ~40hours and collected logs using cbcollect_info. Verified that memory usage for beam.smp does not go up during log collection.

          People

            mahesh.mandhare Mahesh Mandhare (Inactive)
            Aliaksey Artamonau Aliaksey Artamonau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty