From owner-freebsd-questions Tue Jul 16 3:46:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE73C37B400 for ; Tue, 16 Jul 2002 03:46:16 -0700 (PDT) Received: from catflap.home.slightlystrange.org (host217-39-95-108.in-addr.btopenworld.com [217.39.95.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4462243E42 for ; Tue, 16 Jul 2002 03:46:16 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 17UPqQ-00043l-00 for freebsd-questions@freebsd.org; Tue, 16 Jul 2002 11:46:14 +0100 Date: Tue, 16 Jul 2002 11:46:14 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: Slow Message-ID: <20020716104613.GA8110@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <002401c22cae$42c3e020$01004280@irridium> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002401c22cae$42c3e020$01004280@irridium> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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