Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running a single MongoDB database. No sharding. When I run htop, I see a lot of instances of mongod. Is that normal? Does every connection create a separate mongod process? Should I be concerned?

For some reason when I use top, only one of them is shown. That part is confusing also.

As asked in the comments, output of "ps axjf | grep mongod":

12858 12878 12877 12858 pts/0    12877 S+     500   0:00              \_ grep mongod
1  2691  2690  2690 ?           -1 Sl     497  70:54 /usr/bin/mongod -f /etc/mongod.conf
share|improve this question
    
Please append the output of ps axjf | grep mongod to your question? –  quanta Dec 2 '11 at 5:17
add comment

1 Answer

up vote 6 down vote accepted

Duplicate .. htop is showing different threads as well. not just processes. top and ps show only processes.

share|improve this answer
    
Thanks! Sorry I don't have enough reputation to upvote your answer. –  bigmac Dec 25 '11 at 23:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.