Reputation: 319
I've mongodb version 1.8.2 running on production, for which a cron job runs for database dump. I've just upgraded my ubuntu to 12.04. Now I m unable to restore any database/collection. It's giving
db.system.indexes Assertion failure _filename.empty() util/mmap.cpp 167
I googled for it, but can't find any suitable answer.
Upvotes: 4
Views: 1791
Reputation: 1133
Try setting ulimit -n 64000
in the startup script, usually, /etc/init.d/mongodb
. This worked for me.
https://groups.google.com/forum/#!msg/mongodb-user/RNwc6j6oiSg/PspURcJUxMIJ
Upvotes: 2