mongorestore failure: error writing file "/var/lib/mongodb"
Finally after two days, I found the answer, I get this error because of lack of memory. You need to add more memory if you work with big collection.