Re: Swap is eaten up

From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 07/19/05


Date: Tue, 19 Jul 2005 15:08:12 +0200

It is a bit unclear what your problem is. If the
problem just is, that you are running out of swap,
then the solution would be to add more swap.

If there is a leak, then that will of course not
help. In that case take a look on the size of the
virtual memory of the different processes:
grep VmSize /proc/*/status
And when you have a candidate, which may be the
culprit, then take a look on the maps pseudofile.

If the system is slowed down because of constant
disk access, then look for processes in non-
interruptible sleep.

If memory presure is too high, then add more
memory or look for the processes with the highest
residen set sizes.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
Note to self: Don't try to allocate 256000 pages
with GFP_KERNEL on x86.


Relevant Pages

  • Re: whats making executables so large?
    ... each shared library mapped to a separate memory page and memory page ... Swap space, VM, and shared memory usage a _complicated_ swamp. ... 'virtual memory' is more than the disk size of the executable ... The situation is 'sort of' like shared libraries. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Heaps and Foreigners
    ... >> can ask for the memory and get a pointer to it. ... cause unfathomable deaths when swap space gets low or is exhausted. ... It's probably because there is some reserve memory to print out errors ... of RAM and disk space) and virtual swap (which is just a number managed ...
    (comp.lang.lisp)
  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
    (comp.lang.lisp)
  • Re: [PATCH] io-controller: Add io group reference handling for request
    ... Find the io group bio belongs to. ... anonymous pages (swap) you still need the page tracking functionality ... so fair to charge the current task for the whole activity. ... is some other memory hungry application which is forcing these swap outs. ...
    (Linux-Kernel)
  • Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
    ... instead of introducing a special purpose API. ... in memory and its enabled as highest priority swap. ... ramzswap needs a callback for every page and as ...
    (Linux-Kernel)