Linked by cloud on Sat 27th Oct 2012 01:05 UTC
Permalink for comment 540283
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Features
Linked by Thom Holwerda on 05/21/13 21:38 UTC
Linked by Thom Holwerda on 05/20/13 11:29 UTC
Linked by Thom Holwerda on 05/18/13 21:33 UTC
Linked by David Adams on 05/16/13 4:23 UTC
Linked by Thom Holwerda on 05/11/13 21:41 UTC
Linked by Thom Holwerda on 05/08/13 14:22 UTC
Linked by Thom Holwerda on 05/02/13 15:28 UTC
Linked by Thom Holwerda on 04/29/13 21:06 UTC
Linked by Thom Holwerda on 04/24/13 22:24 UTC
Linked by Thom Holwerda on 04/18/13 11:21 UTC
More Features »
Sponsored Links



Member since:
2007-03-26
$ dd if=/dev/zero of=~/dumpfile bs=4G count=1
on a system with 2 GB of RAM and any amount of swap space; the OS will hang for a long, long time.
(If you don't have swap space, the command will fail because you don't have enough memory. But it's not safe to run without swap space... right?)
Mind you, Windows is just as bad about this - it just doesn't have tools like dd preinstalled that can easily crash your computer.
If Linux gets exhausted of RAM, then the requesting application is killed and an OOE (out of memory exception) raised in the event logs.
Sadly this is something I've had to deal with a few times when one idiot web developer decided not to do any input sanitising which effectively ended up with us getting DoS attacked when legitimate users were make innocent page requests. <_<