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

cbstats tasks - ItemPager TotalRun time incorrect?

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Trivial
    • None
    • 5.0.0
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      Perusing a set of logs where the item pager had been running a lot. cbstats timings shows the histogram of runtimes:

      item_pager (53 total)
      33s - 1m:07s     : (  1.89%)  1
      1m:07s - 2m:14s  : ( 11.32%)  5 ###
      2m:14s - 4m:28s  : ( 60.38%) 26 ####################
      4m:28s - 8m:56s  : ( 84.91%) 13 ##########
      8m:56s - 17m:53s : (100.00%)  8 ######
      

      But the cbstats tasks TotalRun for the same task doesn't reflect this:

      ==============================================================================
      memcached stats tasks
      ['cbstats', '-a', '127.0.0.1:11209', 'tasks', '-b', '@ns_server']
      ==============================================================================
      ******************************************************************************
      test3
       
      Tasks     Writer Reader AuxIO  NonIO  Total      Uptime: 5:23:58
      Running   11     0      0      0      11
      All       13     12     4      11     40
       
         TID  Pri  St  Bucket     SleepFor   Runtime    TotalRun       #Runs  Type    Name      Descr.
       
           1    7  S   test3       0:02.22   0:00.00     0:01.34      669040  NonIO   ItemPager     Paging out items.
      

      Attachments

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

        Activity

          People

            dhaikney David Haikney (Inactive)
            dhaikney David Haikney (Inactive)
            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