Bugtraq mailing list archives

Re: fork()


From: juphoff () tarsier cv nrao edu (Jeff Uphoff)
Date: Thu, 14 Dec 1995 12:57:14 -0500


"AL" == Alex Leipold <aleipold () clark net> writes:

AL> O'm new to the list, so Im not sure if this has been covered, but someone
AL> can crash any system with a few lines of code. (tested on UNIX, LINUX)

AL> [...classic fork bomb code...]

Why go to such troubles?  You can often make a box just as comatose
(though you should not be able to crash it) with the following command:

$ perl -n /dev/zero

(Of course this only works on systems with /dev/zero.)

As with the other method, limiting/reducing a user's max. process size
will reduce the ill effects from this...

--Up.

--
Jeff Uphoff - systems/network admin.  |  juphoff () nrao edu
National Radio Astronomy Observatory  |  jeff.uphoff () linux org
Charlottesville, VA, USA              |  http://www.cv.nrao.edu/~juphoff/



Current thread: