From 16935f951a86e7fc472c67d099df358f4cc823a5 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 19 Nov 2012 12:21:48 -0500 Subject: [PATCH 1/2] DOCS-741 add mem.mappedWithJournal to serverStatus --- source/reference/server-status.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source/reference/server-status.txt b/source/reference/server-status.txt index b4cad96b2a8..49d97facf74 100644 --- a/source/reference/server-status.txt +++ b/source/reference/server-status.txt @@ -410,7 +410,7 @@ mem .. status:: mem.virtual - :status:`mem.virtual` displays the quantity, in bytes, of virtual memory + :status:`mem.virtual` displays the quantity, in Mb, of virtual memory used by the :program:`mongod` process. In typical deployments this value is slightly larger than :status:`mem.mapped`. If this value is significantly (i.e. gigabytes) larger than :status:`mem.mapped`, @@ -428,10 +428,19 @@ mem .. status:: mem.mapped - The value of :status:`mem.mapped` provides the amount of mapped memory by + The value of :status:`mem.mapped` provides the amount of mapped memory, + in Mb, by the database. Because MongoDB uses memory-mapped files, this value is likely to be to be roughly equivalent to the total size of your database or databases. + +.. status:: mem.mappedWithJournal + + :status:`mem.mappedWithJournal` provides the amount of + mapped memory, in Mb, including the memory used for + journaling. + This value will always be twice the value of :status:`mem.mapped`. + This field is only included if journaling is enabled. .. _server-status-connections: From 8f1124ad6920f467bd0068bcaf841d69f5c6ebec Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 19 Nov 2012 12:28:09 -0500 Subject: [PATCH 2/2] DOCS 741 change to megabytes/ MB from Mb --- source/reference/server-status.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/server-status.txt b/source/reference/server-status.txt index 49d97facf74..f4e8b4aaae0 100644 --- a/source/reference/server-status.txt +++ b/source/reference/server-status.txt @@ -410,7 +410,7 @@ mem .. status:: mem.virtual - :status:`mem.virtual` displays the quantity, in Mb, of virtual memory + :status:`mem.virtual` displays the quantity, in megabytes (MB), of virtual memory used by the :program:`mongod` process. In typical deployments this value is slightly larger than :status:`mem.mapped`. If this value is significantly (i.e. gigabytes) larger than :status:`mem.mapped`, @@ -429,7 +429,7 @@ mem .. status:: mem.mapped The value of :status:`mem.mapped` provides the amount of mapped memory, - in Mb, by + in megabytes (MB), by the database. Because MongoDB uses memory-mapped files, this value is likely to be to be roughly equivalent to the total size of your database or databases. @@ -437,7 +437,7 @@ mem .. status:: mem.mappedWithJournal :status:`mem.mappedWithJournal` provides the amount of - mapped memory, in Mb, including the memory used for + mapped memory, in megabytes (MB), including the memory used for journaling. This value will always be twice the value of :status:`mem.mapped`. This field is only included if journaling is enabled.