I have a capped collection and I have allocated 1GB of space for it, the collection is dropping documents at approx 100MB.
db.support.stats()
{
"ns" : "logs.support",
"count" : 111351,
"size" : 98221360,
"avgObjSize" : 882.0878124130003,
"storageSize" : 100003840,
"numExtents" : 1,
"nindexes" : 1,
"lastExtentSize" : 100003840,
"paddingFactor" : 1,
"systemFlags" : 1,
"userFlags" : 0,
"totalIndexSize" : 3638320,
"indexSizes" : {
"_id_" : 3638320
},
"capped" : true,
"max" : NumberLong("9223372036854775807"),
"ok" : 1
}
As far as I can tell from looking at the docs: http://docs.mongodb.org/manual/reference/command/collStats/ Mongo is filling up one extent and is never allocating a second. Is there a reason why mongo is not allocating enough extents to keep growing to the capped collection size?
This is running on a macbook pro with mavericks and the /data/db directory is writable.