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.

Crazy swap usage

Discussion in 'General Discussion' started by ManXP, Sep 29, 2008.

  1. ManXP

    ManXP Well-Known Member

    Joined:
    Feb 3, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Last week one of our WHM servers started going crazy.

    While total memory usage is not high (about 30% or so), swap usage is 100%! Reboot does not help a lot. Swap usage goes to 0% after reboot, and memory usage is about 30% like always. After several hours CPU/memory usage is same like after reboot, but swap usage goes to 100% again.

    What's the problem?
     
  2. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Had that a few years ago...

    You probably have bad RAM. I would have the data center give you new RAM.
     
  3. ManXP

    ManXP Well-Known Member

    Joined:
    Feb 3, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    But memory usage doesn't go high... (?)
     
  4. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Ram doesn't get used.

    The system is calling for memory, if your RAM isn't responding, it will spill over to your swap for the needed memory. You probably got dud RAM. It happened to me 2-3 times. They change the RAM and everything is better.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'd check for out of date scripts on your server being hit or some other similar issue. CSF would probably help here in pointing out more to you via email alerts.
    http://www.configserver.com/cp/csf.html
     
Loading...

Share This Page