Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-556

mongostat reports incorrect units for memory usage

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.0.0-rc6
    • Affects Version/s: None
    • Component/s: mongostat
    • None
    • 2015-01 Iteration

      This seems to work correctly in 2.8.0-rc4 but is incorrect in latest:

      2.8.0-rc4 package:

      insert query update delete getmore command flushes vsize   res qr|qw ar|aw netIn netOut conn      set repl     time
          *0 16436  16409     *0       0     2|0       0 24.0g 23.4g   0|0  0|22    5m    30m   26 ycsbTest  PRI 10:19:06
          *0  5449   5561     *0       0     2|0       0 24.0g 23.4g   0|0  0|22    1m    10m   26 ycsbTest  PRI 10:19:07
          *0 11422  11549     *0       0     3|0       0 24.0g 23.4g   0|0  2|10    4m    21m   26 ycsbTest  PRI 10:19:08
          *0 13251  13282     *0       0     2|0       0 24.1g 23.4g   0|0  1|19    4m    24m   26 ycsbTest  PRI 10:19:09
          *0  6400   6584     *0       0     5|0       0 24.1g 23.5g   0|0  1|20    2m    12m   26 ycsbTest  PRI 10:19:10
      

      Latest build as of today:

      insert query update delete getmore command flushes   vsize     res qr|qw ar|aw netIn netOut conn      set repl     time
          *0    *0     *0     *0       0     2|0       0 24.3 KB 23.7 KB   0|0   0|0  158b    29k    3 ycsbTest  PRI 10:22:04
          *0    *0     *0     *0       0     2|0       0 24.3 KB 23.7 KB   0|0   0|0  158b    29k    3 ycsbTest  PRI 10:22:05
          *0    *0     *0     *0       0     2|0       0 24.3 KB 23.7 KB   0|0   0|0  158b    29k    3 ycsbTest  PRI 10:22:06
      

      Memory usage is in fact 24 GB not KB.

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: