From owner-freebsd-questions Thu Dec 10 16:21:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15709 for freebsd-questions-outgoing; Thu, 10 Dec 1998 16:21:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from esmeralda.xaa.iae.nl (esmeralda.xaa.iae.nl [194.151.75.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15704 for ; Thu, 10 Dec 1998 16:21:44 -0800 (PST) (envelope-from freebsd@xaa.iae.nl) Received: from ariel.xaa.iae.nl (ariel.xaa.iae.nl [194.151.75.10]) by esmeralda.xaa.iae.nl (Postfix) with ESMTP id BB5861B1; Fri, 11 Dec 1998 01:21:35 +0100 (MET) Received: by ariel.xaa.iae.nl (Postfix, from userid 1008) id 0CF0B3EC3; Fri, 11 Dec 1998 01:21:34 +0100 (CET) Date: Fri, 11 Dec 1998 01:21:34 +0100 From: Mark Huizer To: Bruce Pennypacker , freebsd-questions@FreeBSD.ORG Subject: Re: swap space not being used? Message-ID: <19981211012134.C810@ariel.xaa.iae.nl> References: <19981211001702.15237.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.10i In-Reply-To: <19981211001702.15237.qmail@hotmail.com>; from Bruce Pennypacker on Thu, Dec 10, 1998 at 04:17:02PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm seeing something I don't quite understand on a FreeBSD 2.2.7 mchine > that we just set up. This machine is 300Mhz with 128MB RAM and 3 4.5gig > SCSI drives. We intend to use this machine for a lot of data analysis & > other grunt work, so we set it up with a decent amount of swap space. > Each disk has a 250MB swap partition on it. When I tried to run a fairly > memory intensive app (something that'll need about 300MB to run) the app > choked after only a few seconds with a "Virtual memory exceeded in > `new'" error. In monitoring the system using the top & sysinfo commands > I was amazed to find that 0% of the swap space on all 3 drives is being > used when the app ran out of memory. I'm fairly sure the swap partitions > were set up properly - they're listed in /etc/fstab, swapper is running, > etc. So why does it appear that the swap space isn't being used at all? > I had more luck testing this app on an NT workstation with only 32MB RAM > even though it eventually filled up the swap file entirely. > I suppose you are running into the system defaults for resource limits. See manpages for login.conf, unlimit, limit, etc... Mark -- Nice testing in little China... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message