Skip to content

DOCS-471 minor edits #304

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 1 commit into from
Oct 11, 2012
Merged
Changes from all commits
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
14 changes: 7 additions & 7 deletions source/administration/ulimit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ deployment and its use to determine ideal ``ulimit`` settings.
Generally, all :program:`mongod` and :program:`mongos` instances, like
other processes:

- tracks each incoming connection with a file descriptor *and* a thread.
- track each incoming connection with a file descriptor *and* a thread.

- tracks each internal thread or *pthread* as a system process.
- track each internal thread or *pthread* as a system process.
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't it "tracks" because the subject is "all mongod and mongos instances" rather than "each mongod/mongos instance"?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd vote track… simplify it down to "all (adjectives) instances" and I get “track” rather than “tracks”.


``mongod``
~~~~~~~~~~
Expand All @@ -41,16 +41,16 @@ other processes:
all other members of the set.

:program:`mongod` uses background threads for a number of internal
processes, including :ref:`TTL collections <ttl-collections>` and
replication, replica set health checks, which may require a small
processes, including :ref:`TTL collections <ttl-collections>`,
replication, and replica set health checks, which may require a small
number of additional resources.

``mongos``
~~~~~~~~~~

In addition to the threads and file descriptors for client
connections, :program:`mongos` must maintain connects to all config
servers, and all shards, which includes all members of all replica
servers and all shards, which includes all members of all replica
sets.

For :program:`mongos`, consider the following behaviors:
Expand Down Expand Up @@ -101,8 +101,8 @@ system limits, as in the following example:

``ulimit`` refers to the per-*user* limitations for various
resources. Therefore, if your :program:`mongod` instance executes as a
user that is also running multiple process, or multiple
:program:`mongod` process, you might see contention for these
user that is also running multiple processes, or multiple
:program:`mongod` processes, you might see contention for these
resources. Also, be aware that the ``processes`` value (i.e. ``-u``)
refers to the combined number of distinct processes and sub-process
threads.
Expand Down