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

cbq-engine memory usage grows indefinitely when audit is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • query

    Description

      N1QL audit is enabled using this patch:

      diff --git a/audit/audit.go b/audit/audit.go
      index 977cc838..c6d78f68 100644
      --- a/audit/audit.go
      +++ b/audit/audit.go
      @@ -59,7 +59,7 @@ type Auditable interface {
              IsAdHoc() bool
       }
       
      -var doAudit = false
      +var doAudit = true
       var doLogAuditEvent = false
       
       // Event types are described in /query/etc/audit_descriptor.json
      

      Setup:

      • 1 node (KV + query + MOI indexer)

      Workload: YCSB workload E

      cbq-engine RSS linearly increased to 40GB in just 10 minutes (see attachment).

      All graphs: http://cbmonitor.sc.couchbase.com/reports/html/?snapshot=triton_510-9999_access_f5b5

      Attachments

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

        Activity

          People

            pavelpaulau Pavel Paulau (Inactive)
            pavelpaulau Pavel Paulau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty