The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RAM Usage

Discussion in 'General Discussion' started by canadiancow, Apr 27, 2009.

  1. canadiancow

    canadiancow Active Member

    Joined:
    Jul 7, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I've had cPanel/WHM running happily on a box with 2GB RAM for a long time now. It never used any swap.

    I just setup cPanel/WHM on a virtual machine with 3GB RAM allocated, and transferred all the accounts over. It's using all 3GB, but again, no swap.

    I'm trying to decide how much RAM should be allocated, but whatever I give it, it seems to use.

    What's using all the RAM, and how can I determine how much RAM it needs?
     
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Linux likes to use all the available memory it can get it's hands on, so if you throw 3GB at it you will see it take 3GB. You can use the free and top commands to guage if you are allocating more than necessary. The general rule is enough is never enough. :)
     
  3. serversignature

    serversignature Well-Known Member

    Joined:
    Nov 26, 2007
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
  4. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    As mentioned above, linux will consume then redistribute the memory. So even on an empty server, the memory can appear high. You should pay the most attention to the load, swap, and process count. If they are all fine, then you can safely ignore the high memory indication.
     
Loading...

Share This Page