-
Type:
Question
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Hi,
I have mongodb with few capped collections up and running for last one month. I have used c-driver for insertition. Now i see a weired problem that , one of the capped collections does not rotate the data and does not insert the new records. Collection stats shows count > 45000, where as find does not print a single recored from the collection. This issue is happening only with one of the collection where as others are working fine.
MongoDB shell version: 2.2.2
connecting to: test
> use log
> db.log.find()
> db.log.stats()
{
"ns" : "log.log",
"count" : 45198,
"size" : 49610304,
"avgObjSize" : 1097.621664675428,
"storageSize" : 50335744,
"numExtents" : 1,
"nindexes" : 1,
"lastExtentSize" : 50335744,
"paddingFactor" : 1,
"systemFlags" : 1,
"userFlags" : 0,
"totalIndexSize" : 1684256,
"indexSizes" :
,
"capped" : true,
"max" : 2147483647,
"ok" : 1
}
> db.log.find().limit(1)
I could see below logs from mongod server for sometime.
Wed Mar 11 04:18:24 [conn1] insert: couldn't alloc space for object ns:log.log capped:1
Please guide how to debug and resolve this issue.