Re: ~500 megs cached yet 2.6.5 goes into swap hell

Rob Landley
2004-05-17T19:49:38Z

On Friday 07 May 2004 11:57, Pavel Machek wrote:
> Hi!
>
> > > Perhaps what we really want is "swap_back_in" script? That way you
> > > could do "updatedb; swap_back_in" in cron and be happy.
> >
> > swapoff -a; swapon -a
>
> Good point... it will not bring back executable pages, through.
>
> Pavel

What would the above do if there wasn't enough memory to swap everything back
in? (Presumably, the swapoff would fail?)

Rob

--
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas. (I'm the con chair.)