Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 15:16:09 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        dave <dleimbac@earthlink.net>
Cc:        questions@freebsd.org
Subject:   Re: python fork call raised my load over 400!
Message-ID:  <20010516151609.A35726@xor.obsecurity.org>
In-Reply-To: <200105161254.FAA14005@scaup.mail.pas.earthlink.net>; from dleimbac@earthlink.net on Wed, May 16, 2001 at 07:57:19AM -0500
References:  <200105161254.FAA14005@scaup.mail.pas.earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 16, 2001 at 07:57:19AM -0500, dave wrote:

> ----SNIP--------
>=20
> import os
>=20
> while 1:
> 	os.fork()
> -----SNIP-------
>=20
> This user run program brought my system to a load of 419 with the system
> using
> 94% of the resources and 500 user processes on my AMD Duron 800 box with
> 256MB RAM...=20

Well, what did you expect?  People point this out to us about every 2
weeks, and they all seem to think it's an idea no-one's even thought
of before in the history of computing.  It's trivial to prevent
fork-based denial of services in FreeBSD.

Kris

P.S. This post was off-topic for -arch.
--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7AvwoWry0BWjoQKURAv06AJ9S71tTgpKNdXWyYznqh7OX+ys7RQCg100v
DdLekdcszd26uahgiSDuzYQ=
=48MF
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010516151609.A35726>