From owner-freebsd-stable Fri May 1 21:12:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA00131 for freebsd-stable-outgoing; Fri, 1 May 1998 21:12:42 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA29979 for ; Fri, 1 May 1998 21:12:34 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id XAA00781; Fri, 1 May 1998 23:12:31 -0500 (EST) (envelope-from toor) Message-Id: <199805020412.XAA00781@dyson.iquest.net> Subject: Re: swap_pager: out of swap space, only power off did help In-Reply-To: <01BD754F.A0AB9EF0.berend@pobox.com> from Berend de Boer at "May 1, 98 10:22:28 pm" To: berend@pobox.com (Berend de Boer) Date: Fri, 1 May 1998 23:12:31 -0500 (EST) Cc: freebsd-stable@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Berend de Boer said: > > 2. How can I prevent this? > > The most important question of course. FreeBSD should not hang in such a > case, but be ale to continue somehow, maybe by killing the offender. It's > very easy to kill a FreeBSD machine in this respect. Just send it a 10MB > msg and oops, the machine goes down. > I suggest setting the ulimit for the process so that it cannot allocate "too much" memory. In 2.2.X, it isn't likely to see major changes. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message