Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 01:21:34 +0100
From:      Mark Huizer <freebsd@xaa.iae.nl>
To:        Bruce Pennypacker <bpennypacker@hotmail.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: swap space not being used?
Message-ID:  <19981211012134.C810@ariel.xaa.iae.nl>
In-Reply-To: <19981211001702.15237.qmail@hotmail.com>; from Bruce Pennypacker on Thu, Dec 10, 1998 at 04:17:02PM -0800
References:  <19981211001702.15237.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981211012134.C810>