From owner-freebsd-stable Wed Mar 10 10:30:18 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dpi.dgtu.donetsk.ua (dgtu-dipt-38.4K.dgtu.donetsk.ua [194.44.183.253]) by hub.freebsd.org (Postfix) with ESMTP id 6119C150B2 for ; Wed, 10 Mar 1999 10:27:33 -0800 (PST) (envelope-from yk@info.dgtu.donetsk.ua) Received: from info.dgtu.donetsk.ua (root@info.dgtu.donetsk.ua [194.44.183.7]) by dpi.dgtu.donetsk.ua (8.8.8/8.8.7) with ESMTP id UAA28725; Wed, 10 Mar 1999 20:11:39 +0200 (EET) Received: (from yk@localhost) by info.dgtu.donetsk.ua (8.8.7/8.8.5) id UAA10047; Wed, 10 Mar 1999 20:11:37 +0200 (EET) From: Yury Yaroshevsky Message-Id: <199903101811.UAA10047@info.dgtu.donetsk.ua> Subject: Re: 3.1-STABLE - also freeze :((( [see crashe 3.1-RELEASE ...] In-Reply-To: <19990306110706.A29044@holly.dyndns.org> from "Chris Costello" at "Mar 6, 99 11:07:06 am" To: chris@calldei.com Date: Wed, 10 Mar 1999 20:11:37 +0200 (EET) Cc: freebsd-stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sat, Mar 6, 1999, Yury Yaroshevsky put this into my mailbox: > > Hi All! > > > > 03.03.99 I'm wrote about freeze 3.1-RELEASE after starting this script : > > > > -------- cut here ------- > > #! /bin/sh > > > > for j in 1 2 3 4 5 6 7 8 9 10 > > do > > echo -n $j > > nohup sh -c 'while :; do find / -type f |xargs fgrep fcom; done' >/dev/null ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > 2>&1 & > > echo > > done > > ------------------------ > > > > At next day I'm upgrade my 3.1-R box to 3.1-S, but without visible effects. > > After 2-3 min perfoming this script, my box can't start any processes. > > Take a real good look at what you're doing. > > For each number out of 1 2 3 4 5 6 7 8 9 10: > > * You spawn one process. > * It continually spawns more and more processes, sticking them > into the background. Where ???? I'am spawn _one_ proccess. But this proccess is infinity find ... > This is shooting yourself in the foot. What do you plan on > doing with that, anyway? > > (This will exceed the max process limit very quickly.) No, I'm spawn only 10 processes. -- Yury V. Yaroshevsky | Donetsk State Technical University YY18-RIPE | (380 62) 3356455 yk@dgtu.donetsk.ua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message