Skip to content

Instantly share code, notes, and snippets.

@scotthernandez
Created September 13, 2010 22:26
Show Gist options
  • Save scotthernandez/578176 to your computer and use it in GitHub Desktop.
Save scotthernandez/578176 to your computer and use it in GitHub Desktop.
(2:47:30 PM) skot: Infin1ty: I just did a test on my ubuntu machine and it seems like it takes min(--maxCons, .8*`ulimit -n`) for max connections.
(2:47:51 PM) ajsharp_zz is now known as ajsharp
(2:48:06 PM) Infin1ty: skot, it is, but why does it ignore the mongodb limits in limits.conf? it only works if i set to * or root
(2:48:22 PM) Infin1ty: skot issuing su - -s /bin/bash -c "ulimit -a" mongodb ,shows the correct ulimit
(2:48:50 PM) Infin1ty: skot, looks like the way the init script invoking mongod, so it actually making you set a global ulimit or just for root, which not everyone will like to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment