Am I using too much memory? (Rails on EC2 with Resque)

Posted by Stpn on Server Fault See other posts from Server Fault or by Stpn
Published on 2012-06-08T18:47:21Z Indexed on 2012/06/08 22:42 UTC
Read the original article Hit count: 232

I am looking at the memory usage of the Rails application (it uses background processes via Resque) and since the common answer to the question, "how many workers is too many" was "test and see", I ran some memory commands and wonder if someone can help figuring if the memory usage is high enough already, or I can still add some extra workers..

so (this is all under the maximum load):

 $ free -t -m

                 total       used       free     shared    buffers     cached
    Mem:          1756       1532        223          0         12        229
    -/+ buffers/cache:       1291        464
    Swap:          895         10        885
    Total:        2652       1543       1108





$ vmstat
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
     0  0  10588 156172  13400 326476    1    6     4     0    5    4  1  0 99  0

If there is any extra info I can provide to help answer this, I would be happy to do so. If the question is strange in some way, please let me know I'd be glad to fix etc..

© Server Fault or respective owner

Related posts about ubuntu

Related posts about amazon-ec2