Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    1
    Trophy Points:
    158
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fmalekpour

    fmalekpour Well-Known Member
    PartnerNOC

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

    F.Malekpour
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice