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

Idle projector taking 30% CPU

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • None
    • 4.0.0-1891
    • Untriaged
    • Ubuntu 64-bit
    • Unknown

    Description

      3 node cluster:

      • node1 - KV service
      • node2 - KV service
      • node3 - Index and Query services

      Three buckets total: default, charlie and travel-sample. All are currently idle (no KV ops, no queries).

      projector process on node1 is consuming 32% CPU:

      Cpu(s):  8.0%us,  7.8%sy,  0.0%ni, 83.9%id,  0.0%wa,  0.0%hi,  0.2%si,  0.2%st
      Mem:   3924752k total,  2759884k used,  1164868k free,   196024k buffers
      Swap:  1015804k total,        0k used,  1015804k free,  1560884k cached
       
        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
       8956 couchbas  20   0  499m  65m 6972 R 32.1  1.7  21:23.92 projector
       8592 couchbas  20   0 1481m 384m 3756 S  5.3 10.0  13:55.46 beam.smp
       8735 couchbas  20   0  506m 186m 6996 S  2.0  4.9  20:29.31 memcached 
      

      I see essentially the same thing on node2:

      Mem:   3924752k total,  2616232k used,  1308520k free,   185740k buffers
      Swap:  1015804k total,      732k used,  1015072k free,  1519584k cached
       
        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
       9018 couchbas  20   0  359m  64m 6984 S 33.6  1.7  21:46.49 projector
       8586 couchbas  20   0 1404m 309m 3512 S  6.0  8.1  10:40.47 beam.smp
       8732 couchbas  20   0  506m 187m 7012 S  1.3  4.9  20:32.92 memcached
      

      (Note - As it is not specified, we will use this bug to track CPU usage of indexer with indexes defined but without mutations to distinguish from MB-14585)

      Attachments

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

        Activity

          People

            prataprc Pratap Chakravarthy (Inactive)
            drigby Dave Rigby (Inactive)
            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