Skip to content

DOCS-741 add mem.mappedWithJournal to serverStatus #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions source/reference/server-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

megabytes?

throughout.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe…I didn't want to get into the whole mega/mibi thing.
(it is 1024_1024 bytes, not 1000_1000 so is theoretically mibi)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scotthernandez suggests MB not Mb.

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`,
Expand All @@ -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:

Expand Down