lkml.org 
[lkml]   [1998]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Very bad swap bug -- 2.0, 2.1 at least
On Tue, Sep 15, 1998 at 09:32:30PM -0700, Simon Kirby wrote:

> >From the tests I did before, it seems what is being "swapped in" is the
> executable code of a program which has been previously swapped out. I had
> a program running that sleep()ed for a few seconds and then ran a small
> main loop (stat()ed a file) -- every time the main loop ran, vmstat would
> show the swap in ("si") number as non-zero. I confirmed this by stracing
> the program and running "vmstat 1" at the same time.
>
> Issuing a "swapoff -a ; swapon -a" causes the program to go away, until
> something else forces some programs out to swap. (In this case, it seems
> to be some customer's run-away CGI script).

If swapoff -a; swapon -a kills your program, you're out of physicak memory.
Then your swapspace is needed and the swapin is just what you should expect.
Or did I miss anything?

--
Kurt Garloff, Dortmund
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.377 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site