MongoDB: ERROR: child process failed, exited with error number 14

后端 未结 11 1965
攒了一身酷
攒了一身酷 2020-12-17 21:48

I run MongoDB on Mac:

Shave:mongodb_simple Logan$ ./bin/mongod -f conf/mongod.conf
about to fork child process, waiting until server is ready for connections         


        
11条回答
  •  甜味超标
    2020-12-17 21:51

    For me it was ulimit issue, mongo could not open too many files.

    Used ulimit -n 10000.

    However as a generic pointer look into mongo logs file, they will tell where to look further. Generally the logs file are in /var/log/mongo.log but look into your mongo config file.

提交回复
热议问题