Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default Too much swap used?

    WHM has been reporting that the swap is between 95 and 100%

    Currently:

    root@skyline [~]# free -m
    total used free shared buffers cached
    Mem: 2007 1937 69 0 69 646
    -/+ buffers/cache: 1220 786
    Swap: 2000 1868 131


    Looks like pretty normal stats (plenty of room in the buffer), except why is there so much swap used at this time? WHM says that the memory (ram) use is only 47%.

    Anyone have a clue about this?

    Thanks very much.

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    New York
    Posts
    101

    Default Probably a spike

    You most likely had a spike of some kind. Like a lot of traffic, or single traffic hog, or a run away script. I usually just restart APache and/or MYSQL and that way you'll see the amount the swap went down per service. The one that goes down the most was the primary cause. This way you can keep an eye on that service to figure it out.

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Question

    Whats your /etc/my.conf look like? Might need some tweaking?
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default

    Thanks for the responses. I just did a reboot (hardware restart) and that reset swap. Was 94% or so, now it's back down to 14% or so.

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 01-24-2011, 08:19 PM
  2. Swap
    By jaymc in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-26-2005, 10:02 PM
  3. Swap
    By jaymc in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-02-2005, 01:15 AM
  4. Swap...
    By macmartins in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-06-2004, 09:47 PM
  5. Swap...
    By macmartins in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-06-2004, 09:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube