If all files in /var/lib/mongodb is removed, mongo will start using:
sudo -u mongodb mongod --dbpath /var/lib/mongodb --smallfiles --storageEngine mmapv1
If the old db files are present, the segmentation fault occurs:
I INDEX [initandlisten] error: hashtable namespace index max chain reached:1335
F - [initandlisten] Invalid access at address: 0
F - [initandlisten] Got signal: 11 (Segmentation fault).
If all files in /var/lib/mongodb is removed, mongo will start using:
sudo -u mongodb mongod --dbpath /var/lib/mongodb --smallfiles --storageEngine mmapv1
If the old db files are present, the segmentation fault occurs:
sudo -u mongodb mongod --dbpath /var/lib/mongodb --smallfiles --storageEngine mmapv1
I INDEX [initandlisten] error: hashtable namespace index max chain reached:1335
F - [initandlisten] Invalid access at address: 0
F - [initandlisten] Got signal: 11 (Segmentation fault).