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

memcached spawned on nodes without KV service

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • feature-backlog
    • 4.0.0
    • ns_server
    • Security Level: Public
    • None
    • 4.0.0-1891
    • Triaged
    • j
    • Unknown

    Description

      I created a three-node cluster: nodes 1 and 2 with Data service, node 3 with Index and Query service - see screenshot.

      While examining memory usage on node3, I noticed it has a memcached process running:

        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
      30434 couchbas  20   0 1070m 332m 7216 S  0.3  8.7   0:00.65 indexer
      30276 couchbas  20   0 1175m 124m 3172 S  3.3  3.2   0:08.03 beam.smp
      30309 couchbas  20   0  937m  43m 5920 S  0.3  1.1   0:02.05 beam.smp
      30253 couchbas  20   0 1064m  35m 2652 S  0.3  0.9   0:01.22 beam.smp
      30389 couchbas  20   0  883m  25m 2892 S  0.0  0.7   0:00.88 beam.smp
      30452 couchbas  20   0  233m  15m 6336 S  0.0  0.4   0:00.26 cbq-engine
      30398 couchbas  20   0  164m  13m 2764 S  0.0  0.3   0:00.01 memcached
      ...
      

      I see no reason to spawn memcached on such nodes, and in fact will unnecessary use resource.

      Attachments

        For Gerrit Dashboard: MB-14584
        # Subject Branch Project Status CR V

        Activity

          People

            amit.krishnan Amit Krishnan (Inactive)
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty