My server is running at 98% mem!

Discussion in 'Site & Server Administration' started by Brilliances, Aug 22, 2006.

  1. #1
    I have a AMD XP 2400/512MB with CentOS 4.x, Cpanel and WHM installed. There's no users on it apart from me but php-sysinfo says 98% of mem is used. Is this normal?
     
    Brilliances, Aug 22, 2006 IP
  2. Alis

    Alis Peon

    Messages:
    1,787
    Likes Received:
    159
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I guess you have a memory leak, try to restart http , mysql , exim etc.
     
    Alis, Aug 22, 2006 IP
  3. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I've restarted the whole sever... several times.
     
    Brilliances, Aug 22, 2006 IP
  4. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #4
    What processes are running, are any of them taking up abnormal memory? If yes which one?
     
    eXe, Aug 22, 2006 IP
  5. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Actually, I asked my server management company and they said

    and i wanted to double check to see if this was also what other people experience.

    The running processes seem to be fine
     
    Brilliances, Aug 22, 2006 IP
    ahkip likes this.
  6. Alis

    Alis Peon

    Messages:
    1,787
    Likes Received:
    159
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In cpanel you have the change the configs thats correct did you update your kernal recently i have updated mine and alots of people have.. to let you notice..
     
    Alis, Aug 22, 2006 IP
  7. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #7
    A large portion of that 'used' memory will be allocated to buffers and cache. This memory can be easily be reclaimed by any process that needs it. If you can, shutdown any services that you don't need, e.g. mail.

    Cryo.
     
    Cryogenius, Aug 22, 2006 IP
  8. wheel

    wheel Peon

    Messages:
    477
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #8
    My desktop with 512megs of ram is running at about 95% full. My server with 8gigs of ram is running at 97% of memory. So your useage seems normal. As noted above, linux moves stuff in and out of memory differently than other OS's. It's not like saying you're using 95% or RAM in windows.

    I think you should watch the swap instead - it that's starts getting full I'd be more concerned.
     
    wheel, Aug 22, 2006 IP
  9. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Ah.. that's reassuring. How do I watch the swap?

    Thks!
     
    Brilliances, Aug 22, 2006 IP
  10. Alis

    Alis Peon

    Messages:
    1,787
    Likes Received:
    159
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Go to cpanel look at your statics about the server usage in the bottom where hardisk information is written it will say swap percantages .. post them here..
     
    Alis, Aug 22, 2006 IP
  11. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #11
    Current Mem usage has:

    total used free shared buffers cached
    Mem: 499796 258020 241776 0 40344 97668
    -/+ buffers/cache: 120008 379788
    Swap: 1012084 0 1012084
    Total: 1511880 258020 1253860

    so I guess 0 swap used is good and 378megs free cache is good too :)
     
    Brilliances, Aug 22, 2006 IP
  12. Alis

    Alis Peon

    Messages:
    1,787
    Likes Received:
    159
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Yes , there is no problem with it your cache is quite normal.

    Is the problem still occured ?
     
    Alis, Aug 22, 2006 IP
  13. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #13
    phpsysinfo looks fine today. It's only at 50% now. Strange.
     
    Brilliances, Aug 22, 2006 IP
  14. soniqhost.com

    soniqhost.com Notable Member

    Messages:
    5,887
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    240
    #14
    Maybe it was updating the log files when you looked at it?
     
    soniqhost.com, Aug 24, 2006 IP
  15. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #15
    why not update apache to 1.3.37 and php to 4.4.4 ?
     
    agnivo007, Aug 26, 2006 IP
  16. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #16
    What all of you missed is a critical part of linux: Linux was developed to efficiently use RAM, which also means it's going to use 98% or 99% of the RAM *All* the time, almost no matter what. This is *as designed* and you do not have a memory leak.
     
    fsmedia, Aug 26, 2006 IP
  17. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #17

    Thanks man....I just had this same question....That was nice of you:D
     
    sundaybrew, Aug 26, 2006 IP
  18. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #18
    Np, just wanted to clarify that for everyone that wasn't linux-savvy :)
     
    fsmedia, Aug 27, 2006 IP
    sundaybrew likes this.
  19. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #19

    Yea, thats me.....some green for you......:D:D
     
    sundaybrew, Aug 27, 2006 IP