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

Couchbase service restarting after sets/evictions and multiple bucket flushes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      I have a problem indeed: everything works perfectly as you said if I input the eviction command in Python interactive mode, leading to this output on the Python console
      >>> cb = CbClient("http://localhost:8091/pools/default","default","",False)
      >>> fakeDoc =

      {"type": "fake"}

      >>> fakeDocKey = "dummy"
      >>> fakeDocStatus = cb.set(fakeDocKey, 0, 0, json.dumps(fakeDoc))
      >>> memcached = cb.memcached(fakeDocKey)
      >>> memcached.evict_key(fakeDocKey)
      (3979266754, 0, 'Ejected.')

      and increasing the "vb_active_num_non_resident" by one.
      When instead I run a non interactive code doing the same thing (1 set and 1 eviction) I get almost random behavior:
      usually the "vb_active_num_non_resident" is unchanged, sometimes it gets changed in a very large number (seems like an overflow or something).
      If i run a whole loop with some hundreds of insertions and evictions I get the same result as with just 1 set and 1 eviction.
      FYI I'm running couchbase on a single machine, OS: x86_64-unknown-linux-gnu Version: 2.0.0 community edition (build-722-rel) on Ubuntu 12.04.
      PS. While doing these tests I repeatedly flushed and/or deleted and recreated the bucket, and I used this command:
      watch -d "/opt/couchbase/bin/cbstats localhost:11210 all | grep vb_active"

      to monitor the parameters.
      I believe that the tests led the couchbase in an inconsistent state, because now it's repeatedly restarting, with this message on the web-UI: "Difficulties communicating with the cluster; displaying cached information!".
      Restarting the linux service doesn't help, I think I'll reinstall it.

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

        Activity

        Hide
        mikew Mike Wiederhold added a comment -

        Farshid,

        This issue was reported by a user. The eviction underflow problem should be fixed, but it seems ns_server is losing connection with memcached (possible crashes). Can you please try to reproduce this issue. The user has posted this on the forums here:

        http://www.couchbase.com/forums/comment/reply/1001901/1006294

        Show
        mikew Mike Wiederhold added a comment - Farshid, This issue was reported by a user. The eviction underflow problem should be fixed, but it seems ns_server is losing connection with memcached (possible crashes). Can you please try to reproduce this issue. The user has posted this on the forums here: http://www.couchbase.com/forums/comment/reply/1001901/1006294
        Hide
        peter peter added a comment -

        Can you look into this?

        Show
        peter peter added a comment - Can you look into this?
        Hide
        chiyoung Chiyoung Seo added a comment -

        No diag files and not enough information. Closed it and will reopen if we have the similar problem from QE regression.

        Show
        chiyoung Chiyoung Seo added a comment - No diag files and not enough information. Closed it and will reopen if we have the similar problem from QE regression.

          People

          • Assignee:
            chiyoung Chiyoung Seo
            Reporter:
            mikew Mike Wiederhold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes