Results 1 to 6 of 6

Thread: Swap file growing uncontrollably

  1. #1
    Join Date
    Mar 2010
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Swap file growing uncontrollably

    Hi

    I've looked around the forum and done some web searches but haven't found the answer yet so posting here.

    Currently running 10.04 and Cacti latest version and although my RAM is only just over 3/4 used my swap file is growing. If I leave the box running for about a week the swap fills and the system grinds to a halt.

    Is there some way of seeing what's in the swap so I can debug the problem and get my system more stable again?

    Thanks,

    Diskbox

  2. #2
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Swap file growing uncontrollably

    These two commands should give an idea on the swap filesystem and usage:
    swapon -s
    free -m

  3. #3
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

  4. #4
    Join Date
    Mar 2010
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation Re: Swap file growing uncontrollably

    Thanks for the replies.

    I think I should have been a bit more specific in my original request for help.
    I'm trying to find a command/program to show me the processes/programs which are currently swapped into the swap file.

    Alternatively, is there a better way of identifying where the memory leak is on my system and why the swap file just keeps filling up?

    Thanks again,

    Diskbox

  5. #5
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Swap file growing uncontrollably

    right click on the top panel and install system-monitor, then ckicking on its icon you can view all the activity in live

  6. #6
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: Swap file growing uncontrollably

    From the command line, you can use "top". Just type "top" and then type "m" to sort by memory use. That will show you what programs are consuming the most memory (RAM and/or swap space).

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •