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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message