Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
1GB of RAM sufficient?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nick Hoffman  
View profile  
 More options Nov 16 2012, 3:55 pm
From: Nick Hoffman <n...@deadorange.com>
Date: Fri, 16 Nov 2012 12:55:18 -0800 (PST)
Local: Fri, Nov 16 2012 3:55 pm
Subject: 1GB of RAM sufficient?

Hi guys. Considering the following info, is a server with 1GB of RAM and 2
Xeon 2.13GHz CPUs sufficient? I ask because the CPU is spiking frequently.

mongostat
http://pastie.org/5389408

mongotop
http://pastie.org/private/f3po3nidn36tcvw2ljctba

> db.stats()

{
        "db" : "production",
        "collections" : 40,
        "objects" : 1500495,
        "avgObjSize" : 298.134407645477,
        "dataSize" : 447349188,
        "storageSize" : 667463680,
        "numExtents" : 167,
        "indexes" : 63,
        "indexSize" : 129687712,
        "fileSize" : 2080374784,
        "nsSizeMB" : 16,
        "ok" : 1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Hoffman  
View profile  
 More options Nov 16 2012, 3:57 pm
From: Nick Hoffman <n...@deadorange.com>
Date: Fri, 16 Nov 2012 12:57:54 -0800 (PST)
Local: Fri, Nov 16 2012 3:57 pm
Subject: Re: 1GB of RAM sufficient?

Actually, it looks like RAM isn't the issue. Why would the CPU be spiking?

$ free -m
             total       used       free     shared    buffers     cached
Mem:           992        983          9          0          1        352
-/+ buffers/cache:        629        363
Swap:         1023          0       1023


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Nov 16 2012, 5:35 pm
From: gregor <gre...@10gen.com>
Date: Fri, 16 Nov 2012 14:35:14 -0800 (PST)
Local: Fri, Nov 16 2012 5:35 pm
Subject: Re: 1GB of RAM sufficient?

Your idx miss % is low which means your index is in RAM but you are page
faulting - your data it being faulted in from disk because you have such a
small ram.
Does the log show any slow queries?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Hoffman  
View profile  
 More options Nov 16 2012, 5:43 pm
From: Nick Hoffman <n...@deadorange.com>
Date: Fri, 16 Nov 2012 14:43:37 -0800 (PST)
Local: Fri, Nov 16 2012 5:43 pm
Subject: Re: 1GB of RAM sufficient?

Hi gregor. I'm tracking slow queries in ScoutApp.com , which says that
MongoDB's averaging 6.6 slow queries per minute, which is pretty low.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gregor  
View profile  
 More options Nov 19 2012, 3:29 am
From: gregor <gre...@10gen.com>
Date: Mon, 19 Nov 2012 00:29:55 -0800 (PST)
Local: Mon, Nov 19 2012 3:29 am
Subject: Re: 1GB of RAM sufficient?

Slow queries are logged in the mongod log file - can you paste some of
those?
Is anything else running on the box?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Choi  
View profile  
 More options Nov 19 2012, 5:29 am
From: Christopher Choi <chu...@gmail.com>
Date: Mon, 19 Nov 2012 02:29:07 -0800 (PST)
Local: Mon, Nov 19 2012 5:29 am
Subject: Re: 1GB of RAM sufficient?

Generally its a bad idea to have such a low ram. as MongoDB tries to cache
all your data on RAM....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »