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

System stats appears to aggregate ppid as some sort of average

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.0
    • 4.6.0
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      "ppid" in the system stats looks to get aggregated as some sort of average. I didn't check the code, but that's what it looks like.

      The aggregated stat is pretty useless. It's certainly possible over a period of time the same process will appear with different parent process IDs – though it's not clear how much value the stat has over this timeframe anyway. Over a day or an hour I think it would be more valuable to use the last sample rather than an average. At least in this case we get one good ppid value; when the average is taken we essentially get zero good values.

                       [{<<"godu/28373/ppid">>,28282.438034188035},
                        {<<"projector/28540/ppid">>,28468.040598290598},
                        {<<"goxdcr/28485/ppid">>,28420.143162393164},
                        {<<"saslauthd-port/28439/ppid">>,60.43589743589743},
                        {<<"beam.smp/28307/ppid">>,60.43589743589743},
                        {<<"beam.smp/28284/ppid">>,0.002136752136752137},
                        {<<"sigar_port/28465/ppid">>,28246.514957264957},
                        {<<"godu/28382/ppid">>,28246.514957264957},
                        {<<"beam.smp/28343/ppid">>,28246.514957264957},
                        {<<"beam.smp/28808/ppid">>,14383.74358974359},
                        {<<"goport/28529/ppid">>,14383.74358974359},
                        {<<"goport/28481/ppid">>,14383.74358974359},
                        {<<"memcached/28450/ppid">>,14383.74358974359},
                        {<<"memcached/31393/ppid">>,13839.820512820514},
                        {<<"beam.smp/28808/ppid">>,13839.820512820514},
                        {<<"goport/28529/ppid">>,13839.820512820514},
                        {<<"goport/28481/ppid">>,13839.820512820514},
                        {<<"saslauthd-port/28439/ppid">>,28223.564102564105},
                        {<<"beam.smp/28307/ppid">>,28223.564102564105},
                        {<<"beam.smp/28284/ppid">>,0.9978632478632478},
      

      Attachments

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

        Activity

          People

            bharath.gp Bharath G P
            dfinlay Dave Finlay
            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