Subject: Re: Excessive swapping / Memory problems
To: None <netbsd-users@netbsd.org>
From: Mark Cullen <mark.r.cullen@gmail.com>
List: netbsd-users
Date: 09/07/2006 14:56:41
Perry E. Metzger wrote:
> Vincent van Scherpenseel <mailinglists@vanscherpenseel.nl> writes:
>> Since last week I'm having problems with processes getting Killed out
>> of nowhere on my NetBSD 1.6.2 machine. I searched the
>> /var/log/messages log and learnt that this is due to the machine
>> running out of swap.
>>
>> When I run 'top' it shows me this:
>> Memory: 38M Act, 23M Inact, 1792K Wired, 5016K Exec, 25M File, 10M Free
>> Swap: 256M Total, 256M Used, 336K Free
>>
>> dmesg shows:
>> total memory = 97904 KB
>> avail memory = 87520 KB
>>
>> There is 1 stick of 64mb SD-RAM in the machine and 1 stick of 32mb.
>> Is my assumption right that the memory is most probably faulty?
> 
> No one else has mentioned this, so I will.
> 
> How much swap space do you have configured, and are you sure it is
> properly configured? If you have somehow turned off your swap
> partition, that could explain a sudden change in behavior.
> 
> Perry
> 

 >> When I run 'top' it shows me this:
 >> Memory: 38M Act, 23M Inact, 1792K Wired, 5016K Exec, 25M File, 10M Free
 >> Swap: 256M Total, 256M Used, 336K Free

I would guess he has 256MB of swap space configured :-) I am also fairly 
sure that if it were somehow turned off, it wouldn't be showing up in 
`top`. Could be wrong there though!
-- 
Mark Cullen <mark.r.cullen@gmail.com>
BSc (Hons), Computer Science