Re: cat /dev/hdb > /dev/null DoS

From: Sven Köhler
Date: Thu Apr 08 2004 - 05:37:57 EST


I did cat /dev/hdb > /dev/null and after a while (5 minutes),
the system went totally unresponsive:

1) man top takes 3 minutes to display man page
2) Switching between console and X takes also a couple of minutes
3) top shows this:

Cpu(s): 1.4% us, 1.4% sy, 0.0% ni, 0.0% id, 0.0% wa, 97.3% hi, 0.0% si

i guess you have DMA enabled on /dev/hdb. I would expect, that the system is at least 50% idle

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