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

Couchbase can't use RAM allocated for system disk cache.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 1.8.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Untriaged

    Description

      Couchbase will start evicting documents when server memory filled with system disk cache, even when couchbase memory usage is well below bucket quota.
      To prevent this situation most people dropping system disk cache in cron task like this:
      echo 3 > /proc/sys/vm/drop_caches

      Also i don't understand why disk cache created, because Couchbase have no reads from disk(only writes if it set to permanent, like at my servers).

      Discussion in Couchbase Google group: https://groups.google.com/forum/#!topic/couchbase/H52nP3TualU/discussion

      Screenshots of Web UI stats:
      http://gyazo.com/acd03396c42784069cba962dedfe2e6a
      http://gyazo.com/be4897fadfa5fa1c90cac550591e1d39
      http://gyazo.com/3900dfeffc90c2e42f5ce7b7d0fd0f46
      http://gyazo.com/c434b8ead2a7207df9e6a6936ce632ac
      http://gyazo.com/63dd9b44d8e2fe7812ea423a1a748276
      http://gyazo.com/e66503094d3285d95f7a40cc4d8c83fd

      Other data on screenshots is the system disk cache created by Couchbase operations for one day.

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            creotiv Andrey Nikishaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty