title: MongoDB - Too Many Connection Error
body: <p>We have developed chat module using node.js() and mongo sharding and gone live to production server. But today its reached 20000 connection in mongodb and getting error "Too many connection" in logs. After that we have restarted the node server and started again. now its comes normal. But we have to know how will solve this problem immediately.</p>
  
  <p>Any configuration are there to set it in mongodb to kill the connection if not used or set the expire time while establish the connection.</p>
  
  <p>Please help us to close this issue.</p>
  
  <p>Regards,
  Kumaran</p>