Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9242

serverStatus workingSet and indexCounters not working on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.4, 2.5.0
    • Component/s: Performance
    • Labels:
    • Environment:
      db version v2.4.1
      sys info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
      Intel Core i5 2410M (dual core) - 4 GB RAM
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Windows
    • Steps To Reproduce:
      Hide

      rs:PRIMARY> db.serverStatus(

      { workingSet: 1 }

      )

      Show
      rs:PRIMARY> db.serverStatus( { workingSet: 1 } )

      Description

      Output commnad db.serverStatus(

      { workingSet: 1 }

      ): workingSet info not supported

      rs:PRIMARY> db.serverStatus( { workingSet: 1 } )
      {
              "host" : "ext023",
              "version" : "2.4.1",
              "process" : "mongod",
              "pid" : 4920,
              "uptime" : 1039,
              "uptimeMillis" : NumberLong(1039518),
              "uptimeEstimate" : 1027,
              "localTime" : ISODate("2013-04-04T15:43:26.656Z"),
              "asserts" : {
                      "regular" : 0,
                      "warning" : 0,
                      "msg" : 0,
                      "user" : 11,
                      "rollovers" : 0
              },
              "backgroundFlushing" : {
                      "flushes" : 17,
                      "total_ms" : 3009,
                      "average_ms" : 177,
                      "last_ms" : 5,
                      "last_finished" : ISODate("2013-04-04T15:43:07.183Z")
              },
              "connections" : {
                      "current" : 7,
                      "available" : 19993,
                      "totalCreated" : NumberLong(76)
              },
              "cursors" : {
                      "totalOpen" : 2,
                      "clientCursors_size" : 2,
                      "timedOut" : 2
              },
              "dur" : {
                      "commits" : 30,
                      "journaledMB" : 0,
                      "writeToDataFilesMB" : 0,
                      "compression" : 0,
                      "commitsInWriteLock" : 0,
                      "earlyCommits" : 0,
                      "timeMs" : {
                              "dt" : 3060,
                              "prepLogBuffer" : 0,
                              "writeToJournal" : 0,
                              "writeToDataFiles" : 0,
                              "remapPrivateView" : 0
                      }
              },
              "extra_info" : {
                      "note" : "fields vary by platform",
                      "page_faults" : 17275,
                      "usagePageFileMB" : 75,
                      "totalPageFileMB" : 7893,
                      "availPageFileMB" : 4481,
                      "ramMB" : 3947
              },
              "globalLock" : {
                      "totalTime" : NumberLong(1039518000),
                      "lockTime" : NumberLong(9288950),
                      "currentQueue" : {
                              "total" : 0,
                              "readers" : 0,
                              "writers" : 0
                      },
                      "activeClients" : {
                              "total" : 0,
                              "readers" : 0,
                              "writers" : 0
                      }
              },
              "indexCounters" : {
                      "note" : "not supported on this platform"
              },
              "locks" : {
                      "." : {
                              "timeLockedMicros" : {
                                      "R" : NumberLong(24472),
                                      "W" : NumberLong(9288950)
                              },
                              "timeAcquiringMicros" : {
                                      "R" : NumberLong(264019),
                                      "W" : NumberLong(1133)
                              }
                      },
                      "admin" : {
                              "timeLockedMicros" : {
                                      "r" : NumberLong(9667),
                                      "w" : NumberLong(0)
                              },
                              "timeAcquiringMicros" : {
                                      "r" : NumberLong(123),
                                      "w" : NumberLong(0)
                              }
                      },
                      "local" : {
                              "timeLockedMicros" : {
                                      "r" : NumberLong(35848),
                                      "w" : NumberLong(812)
                              },
                              "timeAcquiringMicros" : {
                                      "r" : NumberLong(4389895),
                                      "w" : NumberLong(259)
                              }
                      },
                      "test" : {
                              "timeLockedMicros" : {
                                      "r" : NumberLong(587),
                                      "w" : NumberLong(286499)
                              },
                              "timeAcquiringMicros" : {
                                      "r" : NumberLong(32),
                                      "w" : NumberLong(12)
                              }
                      }
              },
              "network" : {
                      "bytesIn" : 159141,
                      "bytesOut" : 180696,
                      "numRequests" : 1613
              },
              "opcounters" : {
                      "insert" : 4,
                      "query" : 65,
                      "update" : 9,
                      "delete" : 0,
                      "getmore" : 413,
                      "command" : 1188
              },
              "opcountersRepl" : {
                      "insert" : 0,
                      "query" : 0,
                      "update" : 0,
                      "delete" : 0,
                      "getmore" : 0,
                      "command" : 0
              },
              "recordStats" : {
                      "accessesNotInMemory" : 20,
                      "pageFaultExceptionsThrown" : 2,
                      "admin" : {
                              "accessesNotInMemory" : 8,
                              "pageFaultExceptionsThrown" : 1
                      },
                      "local" : {
                              "accessesNotInMemory" : 4,
                              "pageFaultExceptionsThrown" : 1
                      },
                      "test" : {
                              "accessesNotInMemory" : 5,
                              "pageFaultExceptionsThrown" : 0
                      }
              },
              "repl" : {
                      "setName" : "rs",
                      "ismaster" : true,
                      "secondary" : false,
                      "hosts" : [
                              "ext023:27017",
                              "ext023:27019",
                              "ext023:27018"
                      ],
                      "primary" : "ext023:27017",
                      "me" : "ext023:27017"
              },
              "workingSet" : {
                      "info" : "not supported"
              },
              "writeBacksQueued" : false,
              "mem" : {
                      "bits" : 64,
                      "resident" : 45,
                      "virtual" : 931,
                      "supported" : true,
                      "mapped" : 368,
                      "mappedWithJournal" : 736
              },
              "metrics" : {
                      "document" : {
                              "deleted" : NumberLong(0),
                              "inserted" : NumberLong(4),
                              "returned" : NumberLong(40),
                              "updated" : NumberLong(0)
                      },
                      "getLastError" : {
                              "wtime" : {
                                      "num" : 3,
                                      "totalMillis" : 0
                              },
                              "wtimeouts" : NumberLong(0)
                      },
                      "operation" : {
                              "fastmod" : NumberLong(0),
                              "idhack" : NumberLong(0),
                              "scanAndOrder" : NumberLong(0)
                      },
                      "queryExecutor" : {
                              "scanned" : NumberLong(98)
                      },
                      "record" : {
                              "moves" : NumberLong(0)
                      },
                      "repl" : {
                              "apply" : {
                                      "batches" : {
                                              "num" : 0,
                                              "totalMillis" : 0
                                      },
                                      "ops" : NumberLong(0)
                              },
                              "buffer" : {
                                      "count" : NumberLong(0),
                                      "maxSizeBytes" : 268435456,
                                      "sizeBytes" : NumberLong(0)
                              },
                              "network" : {
                                      "bytes" : NumberLong(0),
                                      "getmores" : {
                                              "num" : 0,
                                              "totalMillis" : 0
                                      },
                                      "ops" : NumberLong(0),
                                      "readersCreated" : NumberLong(25)
                              },
                              "oplog" : {
                                      "insert" : {
                                              "num" : 3,
                                              "totalMillis" : 0
                                      },
                                      "insertBytes" : NumberLong(297)
                              },
                              "preload" : {
                                      "docs" : {
                                              "num" : 0,
                                              "totalMillis" : 0
                                      },
                                      "indexes" : {
                                              "num" : 0,
                                              "totalMillis" : 0
                                      }
                              }
                      },
                      "ttl" : {
                              "deletedDocuments" : NumberLong(0),
                              "passes" : NumberLong(17)
                      }
              },
              "ok" : 1
      }
      rs:PRIMARY>

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: