Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 11:46:14 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Slow
Message-ID:  <20020716104613.GA8110@catflap.home.slightlystrange.org>
In-Reply-To: <002401c22cae$42c3e020$01004280@irridium>
References:  <002401c22cae$42c3e020$01004280@irridium>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 16, 2002 at 01:50:44PM +0400, Oleg Borodkin wrote:
> Hello,
>  
> I'm running 3 x Pentium Xeon system. But when I launch this simple program:
>  
> while(1) { i++; }
>  
> it almost overloads the system. 3 running copies are freezing the system at
> all. Does FreeBSD can be freezed so easy? Or it's a misconfiguration?

I think ANY OS running something like that would struggle after a few
minutes...

FreeBSD lets you configure process limits, memory usage limits, etc,
to help protect against runaway processes.  The config file is
/etc/login.conf.  Look at man login.conf for details and cross-
references.

HTH

Dan


-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

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?20020716104613.GA8110>