Re: Linux 2.4.19-pre3-ac1

toon@vdpas.hobby.nl
Mon, 18 Mar 2002 22:23:05 +0100


On Mon, Mar 18, 2002 at 11:44:27AM +0000, Alan Cox wrote:
> > - 2.4.19-pre-ac: kswapd try to swap out and access disk continuously. Whole
> > system is slow down and un-interactivable.
>
> echo "2" >/proc/sys/vm/overcommit_memory

Why are you using the value "2"?
It makes me think that it activates some special magic,
but all I can find in mmap.c is:

/* Sometimes we want to use more memory than we have. */
if (sysctl_overcommit_memory)
return 1;

Regards,
Toon.

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