From owner-freebsd-questions Wed May 16 15:16:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id 8F65537B423 for ; Wed, 16 May 2001 15:16:10 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AFB8766C8C; Wed, 16 May 2001 15:16:09 -0700 (PDT) Date: Wed, 16 May 2001 15:16:09 -0700 From: Kris Kennaway To: dave Cc: questions@freebsd.org Subject: Re: python fork call raised my load over 400! Message-ID: <20010516151609.A35726@xor.obsecurity.org> References: <200105161254.FAA14005@scaup.mail.pas.earthlink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105161254.FAA14005@scaup.mail.pas.earthlink.net>; from dleimbac@earthlink.net on Wed, May 16, 2001 at 07:57:19AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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