Google Groups

Re: [mongodb-user] MongoDB and Memory


Scott Hernandez Apr 29, 2012 9:17 AM
Posted in group: mongodb-user
Please see this: http://mongodb.org/display/DOCS/Checking+Server+Memory+Usage

Or you can search the previous group posts:
http://groups.google.com/group/mongodb-user/

On Sun, Apr 29, 2012 at 7:17 AM, Andreas Jung <and...@andreas-jung.com> wrote:
> Goggle "MongoDB memory mapped files" - asked and explained at
> least once a week.
>
> -aj
>
> news...@syslog.com wrote:
>> I'm just wondering how MongoDB handles memory.  The machines I'm
>> running it on have 48GB, which based on our current DB size should be
>> more than enough:
>>
>> SECONDARY> db.stats()
>> {
>>         "db" : "master",
>>         "collections" : 118,
>>         "objects" : 51167677,
>>         "avgObjSize" : 132.34001809384466,
>>         "dataSize" : 6771531300,
>>         "storageSize" : 8493039616,
>>         "numExtents" : 722,
>>         "indexes" : 564,
>>         "indexSize" : 9511279792,
>>         "fileSize" : 23544725504,
>>         "nsSizeMB" : 16,
>>         "ok" : 1
>> }
>>
>> But I got a warning email from our monitoring system that it was using
>> almost *all* the available system memory:
>>
>> MONGODB WARNING - Memory Usage: 42.05GB resident, 101.26GB mapped,
>> 46.13GB virtual
>>
>> Can someone explain what's going on here?
>>
>
> --
> ZOPYX Limited           | zopyx group
> Charlottenstr. 37/1     | The full-service network for Zope & Plone
> D-72070 Tübingen        | Produce & Publish
> www.zopyx.com           | www.produce-and-publish.com
> ------------------------------------------------------------------------
> E-Publishing, Python, Zope & Plone development, Consulting
>
>
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>