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

[Doc'd] Swap usage shoots up with view querying or indexing


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Security Level: Public
    • Labels:
    • Environment:
      Seen on the latest few builds
      Observed on:
      2.0.1-153 Linux
      4 Core 30GB SSD machines


      • Setup a 7 node cluster,
      • RAM (for each physical machine): ~32GB
      • create 2 buckets: default (bucket quota: 12000MB per node) and saslbucket (bucket quota: 7000MB per node)
      • run a load (with just creates), until the item count hits a mark
      • create 2 views over each of the buckets
      • Run load that pushes system into DGM, ~80% resident ratio for default, and ~60% resident ratio for saslbucket
      • Run queries continuously against the views as the load continues.
        (for e.g.:
        curl -X GET '')
      • Noticed the increased swap usage.
      • Start a new mixed load on both the buckets (creates, updates, deletes, expires).
      • Setup XDCR to another 5 node cluster.
      • Continue querying, noticed considerable increase in swap usage.

      This behavior is seen with a cluster with views as well (no XDCR involved).

      1. vperf-lnx.loop_2.0.1-153-rel-enterprise_2.0.1-153-rel-enterprise_VESTA_Feb-11-2013_15-40-09.pdf
        2.54 MB
        Farshid Ghods
      1. Screen Shot 2013-02-13 at 4.46.23 PM.png
        124 kB
      2. Screen Shot 2013-02-18 at 2.38.32 PM.png
        35 kB
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.



          • Assignee:
            kzeller kzeller
            abhinav Abhinav Dangeti
          • Votes:
            0 Vote for this issue
            8 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes