“WARNING: soft rlimits too low” en MongoDB con Mac OS X

Si te aparece esta advertencia al conectarte a la consola de mongo en Mac OX X:

** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000

Puedes aumentar ese límite con tan solo ejecutar este comando en la consola de comandos de Mac OS X:

launchctl limit maxfiles 1024 1024

Este otro comando tiene el mismo efecto pero que durará hasta el próximo reinicio del sistema:

ulimit -n 1024

Reinicia mongod y el problema debería estar resuelto.

Tal vez también te guste

Instalar MongoDB en Ubuntu 12.04 con driver PHP
Install MongoDB: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo...
Instalar y configurar MongoDB y el driver PHP con MacPorts
Installing and configuring MongoDB with MacPorts Installing MongoDB with MacPorts is as easy as...
MongoDB: Recuperar datos después de un apagado inesperado en Ubuntu
If you try to run mongod but it fails to start and have this error in the log file (/var/log/mongodb/mongodb.log)...
Arreglar problemas de locale en Raspbian
If you get errros like this while running commands on your Raspbian: perl: warning: Setting locale...
Dejar un comentario?

0 Comentarios.

Deje un comentario