Subject: Re: making swap *smaller* than memory can be painful
To: Manuel Bouyer <email@example.com>
From: George Michaelson <firstname.lastname@example.org>
Date: 01/28/2004 07:30:39
On Tue, 27 Jan 2004 20:54:41 +0100 Manuel Bouyer <email@example.com>
>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
>> 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
>> 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 ...
long gone info. But I will try and capture if/when it happens again.
>Manuel Bouyer <firstname.lastname@example.org>
> NetBSD: 26 ans d'experience feront toujours la difference
George Michaelson | APNIC
Email: email@example.com | PO Box 2131 Milton QLD 4064
Phone: +61 7 3858 3150 | Australia
Fax: +61 7 3858 3199 | http://www.apnic.net