title: mongodb : Increasing max connections in mongodb
body: <p>i need your help in solving this</p>
  
  <p>this is the result of my <code>ulimit -a</code> on my linux server </p>
  
  <pre><code>   core file size          (blocks, -c) 0
  scheduling priority             (-e) 0
  file size               (blocks, -f) unlimited
  max memory size         (kbytes, -m) unlimited
  open files                      (-n) 10000
  pipe size            (512 bytes, -p) 8
  POSIX message queues     (bytes, -q) 819200
  real-time priority              (-r) 0
  stack size              (kbytes, -s) 10240
  cpu time               (seconds, -t) unlimited
  max user processes              (-u) 24576
  virtual memory          (kbytes, -v) unlimited
  file locks                      (-x) unlimited
  </code></pre>
  
  <p>Right now this is the result of my MongoDB </p>
  
  <pre><code>db.serverStatus().connections
  
  { "current" : 4, "available" : 5996 }
  </code></pre>
  
  <p>I want to increase the MongoDb connections more to 10000 .</p>
  
  <p>I have tried different options like in my mongod1.conf </p>
  
  <pre><code>fork    = true
  port    = 27017
  maxConns = 10000
  </code></pre>
  
  <p>and also this while starting mongodb</p>
  
  <pre><code>mongod ulimit -n 10000  --config mongod1.conf 
  </code></pre>
  
  <p>but nothing worked and all failed , please let me know how can i increase the connections to 10000 in my case , thanks in advance .</p>