0

I don't know whether I am doing it right or wrong, so let me explain:

I am working on MongoDB version 2.6.6

I have sharded environment, which consists of 2 shards (replica sets), mongos & config servers.

To check out my working set I gave command:

db.runCommand({serverStatus:1, workingSet:1})

as shown in the MongoDB documentation. But there was no workingSet document in given output. It returned only serverStatus document. Am I doing anything wrong here?

Note: please bear without output as servers are down for maintenance purpose. Hence I really can't provide with the output, but you can guess the output which doesn't include workingSet document.

2
  • Where did you run the serverStatus command? On a mongos? On a shard? Commented Feb 12, 2015 at 15:14
  • 1
    serverStatus is per process, not for the cluster, so you got information about the mongos. If you look at the memory numbers I bet they will be suspiciously small. mongos has no working set. Try running serverStatus on the mongod's in the cluster. Commented Feb 17, 2015 at 17:08

1 Answer 1

0

May be not applicable to your version, but Starting in MongoDB 3.0, serverStatus no longer outputs the workingSet, indexCounters, and recordStats sections.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.