Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 1999 06:57:06 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        bee@wipinfo.soft.net, grog@lemis.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: "3.2-RELEASE #0" crashed
Message-ID:  <199907261057.GAA44700@lakes.dignus.com>
In-Reply-To: <19990726155307.U51019@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >
> > $ cat crash.c
> > /* program to create "out of CPU" error */
> > #include<sys/types.h>
> > #include<unistd.h>
> >
> > main()
> > {
> > 	while(1)
> > 		if(fork()< 0) /* multiply... */
> > 			while(1); /* if no more processes, eat up CPU */
> > }
> 
> It's interesting that you should have run out of swap before you ran
> out of processes, but basically I don't think what you're doing is a
> reasonable use of the system.  No UNIX system handles this situation
> well, and FreeBSD is no exception.  Since you supply a lot of
> information, but nothing on swap usage, I suspect that your swap
> partitions are too small.
> 
> Greg

 While it's certainly true most any UNIX system will slow to
 a crawl in this case - should it crash?

	- Dave Rivers -



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?199907261057.GAA44700>