server keeps crashing using mongodb
I use this command to hang up a mongodb in background and set dbpath to mount:
sudo mongod –dbpath /mnt/volume-nyc1-04/mongodata2 –fork –logpath /var/log/mongod.log –bind_ip 127.0.0.1
this works well for mongodata, but for mongodata2 whenever i type into command line the whole server just keep crashing and i have to log into console and power on.
This mongodata2 is a large db (300GB) with large collection (3billion rows). I am wondering what could cause the server crashing?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.