Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 1998 16:17:02 PST
From:      "Bruce Pennypacker" <bpennypacker@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   swap space not being used?
Message-ID:  <19981211001702.15237.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

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.

-Bruce


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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?19981211001702.15237.qmail>