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

Add CPU and RAM monitoring for our specific processes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1, 2.1.0
    • Fix Version/s: 3.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:

      Description

      Would be really helpful to have ongoing stats for the CPU and memory usage of our own processes:
      memcached
      beam.smp/erl.exe
      couch_compact
      any others?

      This could be first just added to the logs and REST API, but UI for each node would be very helpful as well

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

        Activity

        Hide
        perry Perry Krug added a comment -

        Alk, did this get put into the latest round of babysitter changes that you made? I saw what looks like these stats in the ns_server_stats.log...

        Show
        perry Perry Krug added a comment - Alk, did this get put into the latest round of babysitter changes that you made? I saw what looks like these stats in the ns_server_stats.log...
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        This has nothing to do with babysitter.

        And this feature is in. Only in form of gathering this stats and making them visible in ns_server's stats log.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - This has nothing to do with babysitter. And this feature is in. Only in form of gathering this stats and making them visible in ns_server's stats log.
        Hide
        perry Perry Krug added a comment -

        Right, nothing to do with babysitter (just a crossing of wires in my mind) but I think it can be closed given the information is there now.

        Thank you

        {processes_stats,
        [

        {<<"proc/beam.smp/cpu_utilization">>,0}

        ,

        {<<"proc/beam.smp/major_faults">>,0}

        ,

        {<<"proc/beam.smp/major_faults_raw">>,0}

        ,

        {<<"proc/beam.smp/mem_resident">>,127336448}

        ,

        {<<"proc/beam.smp/mem_share">>,40509440}

        ,

        {<<"proc/beam.smp/mem_size">>,186314752}

        ,

        {<<"proc/beam.smp/minor_faults">>,0}

        ,

        {<<"proc/beam.smp/minor_faults_raw">>,51879}

        ,

        {<<"proc/beam.smp/page_faults">>,0}

        ,

        {<<"proc/beam.smp/page_faults_raw">>,51879}

        ,

        {<<"proc/memcached/cpu_utilization">>,0}

        ,

        {<<"proc/memcached/major_faults">>,0}

        ,

        {<<"proc/memcached/major_faults_raw">>,0}

        ,

        {<<"proc/memcached/mem_resident">>,60231680}

        ,

        {<<"proc/memcached/mem_share">>,1548288}

        ,

        {<<"proc/memcached/mem_size">>,182415360}

        ,

        {<<"proc/memcached/minor_faults">>,0}

        ,

        {<<"proc/memcached/minor_faults_raw">>,14837}

        ,

        {<<"proc/memcached/page_faults">>,0}

        ,

        {<<"proc/memcached/page_faults_raw">>,14837}

        ]},

        Show
        perry Perry Krug added a comment - Right, nothing to do with babysitter (just a crossing of wires in my mind) but I think it can be closed given the information is there now. Thank you {processes_stats, [ {<<"proc/beam.smp/cpu_utilization">>,0} , {<<"proc/beam.smp/major_faults">>,0} , {<<"proc/beam.smp/major_faults_raw">>,0} , {<<"proc/beam.smp/mem_resident">>,127336448} , {<<"proc/beam.smp/mem_share">>,40509440} , {<<"proc/beam.smp/mem_size">>,186314752} , {<<"proc/beam.smp/minor_faults">>,0} , {<<"proc/beam.smp/minor_faults_raw">>,51879} , {<<"proc/beam.smp/page_faults">>,0} , {<<"proc/beam.smp/page_faults_raw">>,51879} , {<<"proc/memcached/cpu_utilization">>,0} , {<<"proc/memcached/major_faults">>,0} , {<<"proc/memcached/major_faults_raw">>,0} , {<<"proc/memcached/mem_resident">>,60231680} , {<<"proc/memcached/mem_share">>,1548288} , {<<"proc/memcached/mem_size">>,182415360} , {<<"proc/memcached/minor_faults">>,0} , {<<"proc/memcached/minor_faults_raw">>,14837} , {<<"proc/memcached/page_faults">>,0} , {<<"proc/memcached/page_faults_raw">>,14837} ]},
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        ah. indeed. Thanks for spotting this. I didn't realize it wasn't marked as fixed yet.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - ah. indeed. Thanks for spotting this. I didn't realize it wasn't marked as fixed yet.

          People

          • Assignee:
            andreibaranouski Andrei Baranouski
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes