Subject: Re: making swap *smaller* than memory can be painful
To: George Michaelson <>
From: Manuel Bouyer <>
List: current-users
Date: 01/27/2004 20:54:41
On Tue, Jan 27, 2004 at 11:00:06AM +1000, George Michaelson wrote:
> I decided the "2x memory for swap" rule probably didn't apply any more,
> and made my system have 128mb swap for 256mb memory. Until today, that is.
> last night, moving a 1.5Gb ghost image in via ssh, with some local folder
> activity in email and a browser, I had ls processes crap out with:
> Jan 26 18:50:00 dhcppc1 /netbsd: UVM: pid 1424 (ls), uid 101 killed:
> 	 out of swap
> indeed top showed that the Swap utilization was extreme.

What did it report for memory ? especially the Exec, File and Free fields ?
You may need to adjust some uvm parameters for your workload ...

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference