title: Mongo DB logs showing hundreds of open connections without any running operations
body: <p>When I check my MongoDB logs (/var/log/mongodb/mongodb.log), it shows something like:</p>
  
  <pre><code>end connection 127.0.0.1:57132 (**651 connections now open**)
  </code></pre>
  
  <p>But I am not running so many processes. How are so many connections open? Is there a way to close all these connections?</p>
  
  <p>I do run a cron job (from shell script) to query mongodb every minute. Is that what is causing so many open connections? Should I close the connection every time after querying?</p>
  
  <p>When I run <code>db.serverStatus().connections</code>, I get:</p>
  
  <p><code>{ "current" : 500, "available" : 319, "totalCreated" : NumberLong(1328754) }</code></p>
  
  <p>I think that's too big a number. How do I handle this?</p>