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.

Memory Usage Indicator - How does it work?

Discussion in 'General Discussion' started by fmalekpour, Feb 10, 2006.

  1. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

    Joined:
    Dec 4, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Hello everybody,
    As all of you may know there is a memory usage indicator in CPanel (both WHM and CPanel) showing percentage of used memory. It's in "Service Status" of WHM, For instance it may show something like this:


    Memory Used 67.8 %


    Unfortunately there seems to be a memory leak somewhere, either one of CPanel processed or others, I need to find that, So my question is does any one know how CPanel calculates this value? It should be based on values at /proc/meminfo, but what would be the formula?

    F.Malekpour
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Those are relatively meaningless. You're better off looking at top and ensuring that swap usage is at a minimum. The main aim on a Linux server is that it uses up to 100% of RAM as it uses caching.
     
  3. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

    Joined:
    Dec 4, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Thanks chirpy, Anybody else known how CPanel calculates the percent of memory usage?

    F.Malekpour
     
Loading...

Share This Page