I see that my mongodb server is creating files like this:
my_db.ns my_db.1 my_db.2 my_db.3 my_db.... my_db.15
for some of my mongod processes stop to 9, but sometime goes up to 13,14,15. and then I have some space problem on my small AWS instance. I don't want to increase size.
I would like to tell mongo(v2.6) to not go over 10 files, but without blocking the mongo while adding new entries. I want oldest data to be removed or space to be removed.
I used this in order to ask mongo to not create more than 10 files.
but then after a while of execution, while inserting I get this error: MongoError: quota exceeded
is there a way to force mongo to reuse the same files or not creating new ones but without generating errors ?