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

sigar reports same mem_size and mem_resident for all processes on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.0.0
    • 3rd-party
    • Security Level: Public
    • None

    Description

      As suggested by Trond, opening a ticket for this. Trond, don't know if 3rd-party is the right component for this. Leaving it to you to set it appropriately.

      ns_server collects systems stats from portsigar. I noticed that on my Mac, stats.log was reporting same mem resident and mem size for all processes. Added some diagnostics to verify that it is coming from portsigar.
      Since the sigar code is platform specific, I quickly checked cluster run logs on my Windows box and it does not show the same behavior (at least as of Aug 10 code). So, looks like something Mac specific (and possibly some other OS aswell).

      {processes_stats,$
      [

      {<<"godu/680/ppid">>,667}

      ,$

      {<<"godu/680/mem_size">>,2557276160}

      ,$

      {<<"godu/680/mem_resident">>,2809856}

      ,$

      {<<"godu/680/cpu_utilization">>,0}

      ,$

      {<<"godu/680/major_faults_raw">>,0}

      ,$

      {<<"cbq-engine/707/ppid">>,706}

      ,$

      {<<"cbq-engine/707/mem_size">>,2557276160}

      ,$

      {<<"cbq-engine/707/mem_resident">>,2809856}

      ,$

      {<<"cbq-engine/707/cpu_utilization">>,0}

      ,$

      {<<"cbq-engine/707/major_faults_raw">>,0}

      ,$

      {<<"indexer/703/ppid">>,702}

      ,$

      {<<"indexer/703/mem_size">>,2557276160}

      ,$

      {<<"indexer/703/mem_resident">>,2809856}

      ,$

      {<<"indexer/703/cpu_utilization">>,0}

      ,$

      {<<"indexer/703/major_faults_raw">>,0}

      ,$

      {<<"projector/701/ppid">>,700}

      ,$

      {<<"projector/701/mem_size">>,2557276160}

      ,$

      {<<"projector/701/mem_resident">>,2809856}

      ,$

      {<<"projector/701/cpu_utilization">>,0}

      ,$

      {<<"projector/701/major_faults_raw">>,0}

      ,$

      Poonam

      Attachments

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

        Activity

          People

            trond Trond Norbye
            poonam Poonam Dhavale
            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