Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 20:11:37 +0200 (EET)
From:      Yury Yaroshevsky <yk@info.dgtu.donetsk.ua>
To:        chris@calldei.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 3.1-STABLE - also freeze :((( [see crashe 3.1-RELEASE ...]
Message-ID:  <199903101811.UAA10047@info.dgtu.donetsk.ua>
In-Reply-To: <19990306110706.A29044@holly.dyndns.org> from "Chris Costello" at "Mar 6, 99 11:07:06 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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