Re: Sarge: plenty of free RAM, but uses swap

From: Hannes Mayer (debiandude_at_gmail.com)
Date: 01/30/05

  • Next message: Joel Soete: "top and friend tools pb on hppa since 2.6.10-pa7"
    Date: Sun, 30 Jan 2005 15:38:08 +0100
    To: debian-user@lists.debian.org
    
    

    On Sun, 30 Jan 2005 15:55:57 +0200 (IST), Micha Feigin
    <michf@post.tau.ac.il> wrote:
    > On Sun, 30 Jan 2005, Hannes Mayer wrote:
    >
    > > Hi all!
    > >
    > > I just noticed that sarge is using swap, but there is still plenty of
    > > memory free:
    > > # free
    > > total used free shared buffers cached
    > > Mem: 1036532 441552 594980 0 23732 265492
    > > -/+ buffers/cache: 152328 884204
    > > Swap: 351752 0 351752
    > >
    > > # uname -a
    > > Linux debian 2.6.8-1-686 #1 Thu Nov 25 04:34:30 UTC 2004 i686 GNU/Linux
    > >
    > > My previous distro (Fedora2) didn't use swap at all. It just occupied
    > > almost all RAM, of course with lots of "cached" showing up at # free.
    > > How can one force it to use RAM first and then swap ?
    > > (I've google, but didn't find a solution)
    > >
    >
    > If you read the output, in the swap entry you have
    >
    > total: 351752
    > used: 0
    > free: 351752
    >
    > So you are using 0 swap at the moment. Free just tells you that you have
    > 351752 available (notice the column titles)

    WOW! Silly me!
    Thanks Björn and Micha!

    I guess I was a bit confused, because I could hear the harddrive every
    few seconds doing something tiny. Is there any way to check which
    program is currently doing disk I/O ?

    Thanks a lot,
    Hannes.


  • Next message: Joel Soete: "top and friend tools pb on hppa since 2.6.10-pa7"

    Relevant Pages

    • Re: Partitioning scheme for file/mail server
      ... > If you're doing that, well, 500Mb is plenty. ... >> software RAID to perform the mirroring between partitions, then swap ... Alex Butcher Brainbench MVP for Internet Security: ...
      (uk.comp.os.linux)
    • /tmp sizing problem on Solaris8
      ... capacity of the /tmp directory as tmpfs. ... I've got plenty of free ... swap, but I can't seem to get the size I specify. ... I haven't applied the patch yet, ...
      (comp.unix.solaris)
    • Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
      ... if I just assume I have plenty of free swap to begin with? ... run, regardless of RAM, has always pushed things out to swap. ... We are still discussing this in the context of desktop machines and their problems with being slow as things have been swapped out and generally I expect a desktop to have plenty of swap which it's not regularly going to fillup significantly since then the machine's unworkably slow as a desktop anyway. ...
      (Linux-Kernel)
    • Re: XP resource q: No more windows can be opened
      ... though I had plenty of RAM and swap. ... It was the Desktop Heap. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Does top work any more on Solaris ???
      ... > I don't know if its true that 517MB of swap is in use. ... It would seem odd ... > when there is plenty of RAM in the system, ...
      (comp.sys.sun.admin)