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

Memory consumption exceeds Memory Quota allocated for a bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 3.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • 3.0.0-570-rel
    • Triaged
    • Ubuntu 64-bit
    • Yes

    Description

      Memory consumption exceeds Memory Quota allocated for a bucket

      Jenkins Link:
      http://qa.sc.couchbase.com/view/3.0.0/job/ubuntu_x64--47_01--connection-P1/24/console

      Test to Reproduce:
      ./testrunner -i /tmp/connections-tests.ini get-logs=True,wait_timeout=180,get-cbcollect-info=True -t memorysanitytests.MemorySanity.memory_quota_default_bucket,dgm_run=true

      Steps to Reproduce:
      1. Create a bucket of any size like 256M
      2. Load data enough to create a DGM
      3. Check the "tc_malloc_allocated" stat is within 256M bound

      [2014-04-10 23:48:34,023] - [memorysanitytests:100] INFO - Resident ratio is 38
      [2014-04-10 23:48:34,048] - [memorysanitytests:102] INFO - total_allocated_bytes is 287

      FAIL: memory_quota_default_bucket (memorysanitytests.MemorySanity)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "pytests/memorysanitytests.py", line 104, in memory_quota_default_bucket
      memory_mb, self.quota))
      AssertionError: total_allocated_bytes 287 should be within 256

      ----------------------------------------------------------------------

      Errors in between:
      [2014-04-10 23:44:13,224] - [data_helper:1020] ERROR - ["Memcached error #134 'Temporary failure': Temporary failure for vbucket :769 to mc 172.23.107.27:11210"]
      Traceback (most recent call last):
      File "lib/memcached/helper/data_helper.py", line 1056, in _setMulti_rec
      rec_caller_fn(exp, flags, keyval, pause, timeout - pause) # Start all over again for these key vals.
      File "lib/memcached/helper/data_helper.py", line 1018, in _setMulti_seq
      errors = self._setMulti_rec(mc, exp, flags, keyval, pause_sec, timeout_sec, self._setMulti_seq)
      File "lib/memcached/helper/data_helper.py", line 1075, in _setMulti_rec
      rec_caller_fn(exp, flags, keyval, pause, timeout - pause) # Please refer above for comments.
      File "lib/memcached/helper/data_helper.py", line 1018, in _setMulti_seq
      errors = self._setMulti_rec(mc, exp, flags, keyval, pause_sec, timeout_sec, self._setMulti_seq)
      File "lib/memcached/helper/data_helper.py", line 1075, in _setMulti_rec
      rec_caller_fn(exp, flags, keyval, pause, timeout - pause) # Please refer above for comments.
      File "lib/memcached/helper/data_helper.py", line 1021, in _setMulti_seq
      raise errors[0]
      MemcachedError: Memcached error #134 'Temporary failure': Temporary failure for vbucket :769 to mc 172.23.107.27:11210

      Uploading Logs

      Attachments

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

        Activity

          People

            Meenakshi Meenakshi Goel
            Meenakshi Meenakshi Goel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty