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

From: Timothy Miller
Date: Fri May 07 2004 - 12:24:59 EST




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

Wouldn't this also be a problem if you are using more memory than you have physical RAM?

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