Re: [PATCH] strict VM overcommit for stock 2.4

Szakacsits Szabolcs (szaka@sienet.hu)
Fri, 19 Jul 2002 08:17:22 +0200 (MEST)


On 18 Jul 2002, Alan Cox wrote:
> Adjusting the percentages to have a root only zone is doable. It helps
> in some conceivable cases but not all.

For 2.2 kernels I've found 5 MB reserved from swap until it was needed
was enough to ssh to the box and fix whatever was going on (whatever:
real world cases like slashdot effects, exploits from packetstorm and
other own made testcases that heavily overcommited memory). Nevertheless
the amount reserved was controllable via /proc.

And I do know it doesn't solve all cases but covering 99% of the real
world issues isn't a bad start at all, imho.

Szaka

-
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/