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

indexer/projector process are no longer part of stats.log

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not a Bug
    • master
    • 6.5.0
    • ns_server
    • Untriaged
    • Yes

    Description

      indexer/projector processes are no longer part of processes_stats in stats.log e.g. the logs collected by cbcollect as part of system test run:

      https://supportal.couchbase.com/snapshot/c21ae924f1d25d839e6f7f0ef318b0f8::1

      Attachments

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

        Activity

          The stats depends on what services are running on the particular node. I have a cluster running three nodes. The first node is running kv, second n1ql, third index. And stats_archiver:latest_sample("@system-processes", minute) shows:

          node 0 running kv

                           {<<"sigar_port/page_faults">>,0},
                           {<<"saslauthd-port/page_faults_raw">>,2289},
                           {<<"projector/page_faults_raw">>,4111},
                           {<<"ns_server/page_faults_raw">>,204036},
                           {<<"memcached/page_faults">>,2},
                           {<<"memcached/minor_faults_raw">>,0},
                           {<<"goxdcr/page_faults_raw">>,4127},
                           {<<"gosecrets/page_faults_raw">>,772},
                           {<<"goport/page_faults_raw">>,2028},
                           {<<"godu/page_faults_raw">>,2038},
                           {<<"erl_child_setup/page_faults_raw">>,10033},
                           {<<"couchdb/page_faults_raw">>,39174},
                           {<<"babysitter/page_faults_raw">>,16621},
          
          

          node 1 running n1ql

                           {<<"sigar_port/page_faults">>,0},
                           {<<"saslauthd-port/page_faults_raw">>,2280},
                           {<<"ns_server/page_faults_raw">>,64110},
                           {<<"memcached/page_faults_raw">>,4261},
                           {<<"js-evaluator/page_faults_raw">>,4732},
                           {<<"goxdcr/page_faults_raw">>,4048},
                           {<<"gosecrets/page_faults_raw">>,770},
                           {<<"goport/page_faults_raw">>,2008},
                           {<<"godu/page_faults_raw">>,1357},
                           {<<"erl_child_setup/page_faults_raw">>,9884},
                           {<<"couchdb/page_faults_raw">>,27966},
                           {<<"cbq-engine/page_faults_raw">>,11715},
                           {<<"babysitter/page_faults_raw">>,17855},
          
          

          node 2 running index

                           {<<"sigar_port/page_faults">>,0},
                           {<<"saslauthd-port/page_faults_raw">>,2269},
                           {<<"ns_server/page_faults_raw">>,66122},
                           {<<"memcached/page_faults_raw">>,4251},
                           {<<"indexer/page_faults_raw">>,22038},
                           {<<"goxdcr/page_faults_raw">>,4053},
                           {<<"gosecrets/page_faults_raw">>,765},
                           {<<"goport/page_faults_raw">>,2181},
                           {<<"godu/page_faults_raw">>,1358},
                           {<<"erl_child_setup/page_faults_raw">>,9917},
                           {<<"couchdb/page_faults">>,0},
                           {<<"babysitter/page_faults_raw">>,17741},
          

          steve.watanabe Steve Watanabe added a comment - The stats depends on what services are running on the particular node. I have a cluster running three nodes. The first node is running kv, second n1ql, third index. And stats_archiver:latest_sample("@system-processes", minute) shows: node 0 running kv {<<"sigar_port/page_faults">>,0}, {<<"saslauthd-port/page_faults_raw">>,2289}, {<<"projector/page_faults_raw">>,4111}, {<<"ns_server/page_faults_raw">>,204036}, {<<"memcached/page_faults">>,2}, {<<"memcached/minor_faults_raw">>,0}, {<<"goxdcr/page_faults_raw">>,4127}, {<<"gosecrets/page_faults_raw">>,772}, {<<"goport/page_faults_raw">>,2028}, {<<"godu/page_faults_raw">>,2038}, {<<"erl_child_setup/page_faults_raw">>,10033}, {<<"couchdb/page_faults_raw">>,39174}, {<<"babysitter/page_faults_raw">>,16621}, node 1 running n1ql {<<"sigar_port/page_faults">>,0}, {<<"saslauthd-port/page_faults_raw">>,2280}, {<<"ns_server/page_faults_raw">>,64110}, {<<"memcached/page_faults_raw">>,4261}, {<<"js-evaluator/page_faults_raw">>,4732}, {<<"goxdcr/page_faults_raw">>,4048}, {<<"gosecrets/page_faults_raw">>,770}, {<<"goport/page_faults_raw">>,2008}, {<<"godu/page_faults_raw">>,1357}, {<<"erl_child_setup/page_faults_raw">>,9884}, {<<"couchdb/page_faults_raw">>,27966}, {<<"cbq-engine/page_faults_raw">>,11715}, {<<"babysitter/page_faults_raw">>,17855}, node 2 running index {<<"sigar_port/page_faults">>,0}, {<<"saslauthd-port/page_faults_raw">>,2269}, {<<"ns_server/page_faults_raw">>,66122}, {<<"memcached/page_faults_raw">>,4251}, {<<"indexer/page_faults_raw">>,22038}, {<<"goxdcr/page_faults_raw">>,4053}, {<<"gosecrets/page_faults_raw">>,765}, {<<"goport/page_faults_raw">>,2181}, {<<"godu/page_faults_raw">>,1358}, {<<"erl_child_setup/page_faults_raw">>,9917}, {<<"couchdb/page_faults">>,0}, {<<"babysitter/page_faults_raw">>,17741},

          The cbcollect_info submitted with the ticket shows it's only running n1ql and thus indexer and projector stats aren't on that node.

          ===Checker results for 'localhost.localdomain / 'ns_1@172.23.104.113''===
          [info] Collection Time : 2019-06-11 00:11:08
          [info] OS Name : Linux 3.10.0-693.21.1.el7.x86_64
          [info] OS Version : CentOS Linux release 7.4.1708 (Core)
          [BAD] CB Version : 6.5.0-3458-enterprise - Unsupported build
          [info] CB Packages : couchbase-server-6.5.0-3458.x86_64
          ...
           owned by couchbase:couchbase
          [info] MDS Services : n1ql

          As far as I can tell things are working as expected. Please look for the desired stats on the nodes on which the services are running.

          steve.watanabe Steve Watanabe added a comment - The cbcollect_info submitted with the ticket shows it's only running n1ql and thus indexer and projector stats aren't on that node. ===Checker results for 'localhost.localdomain / 'ns_1@172.23.104.113''=== [info] Collection Time : 2019-06-11 00:11:08 [info] OS Name : Linux 3.10.0-693.21.1.el7.x86_64 [info] OS Version : CentOS Linux release 7.4.1708 (Core) [BAD] CB Version : 6.5.0-3458-enterprise - Unsupported build [info] CB Packages : couchbase-server-6.5.0-3458.x86_64 ... owned by couchbase:couchbase [info] MDS Services : n1ql As far as I can tell things are working as expected. Please look for the desired stats on the nodes on which the services are running.

          People

            steve.watanabe Steve Watanabe
            deepkaran.salooja Deepkaran Salooja
            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