Reputation: 10429
I am getting the following exceptions in my Mongo
13,08 07:06:06:356 [|||] [ajp-bio-9207-exec-3] ERROR errors.GrailsExceptionResolver - CommandFailureException occurred when processing request: [POST] /MerchantBridge_stable/saks/importdata
{ "serverUsed" : "10.157.192.16:27017" , "ok" : 0.0 , "errmsg" : "Can't take a write lock while out of disk space" , "code" : 14031}. Stacktrace follows:
com.mongodb.CommandFailureException: { "serverUsed" : "10.157.192.16:27017" , "ok" : 0.0 , "errmsg" : "Can't take a write lock while out of disk space" , "code" : 14031}
at com.mongodb.CommandResult.getException(CommandResult.java:76)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:131)
at com.mongodb.DBCollection.drop(DBCollection.java:1015)
I am guessing I need to set something in the mongod.conf file.
Any tips?
Upvotes: 0
Views: 4161
Reputation: 103445
Using this guide by Josh Barber, you simply need to increase the machine's disk space! Try running df
in the command line to view the machine's current disk space utilization, you're probably close to 100%.
Another option is to nuke it from orbit! If you're using a VM, you could always scrap it and rebuild. This will require a full rebuild, but that might be easier than trying to repartition your VM's hard drive.
Upvotes: 1