Subject: Re: killed: out of swap
To: =?iso-8859-1?q?Vesbula?= <vesbula@yahoo.co.uk>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 01/05/2004 14:35:23
On Mon, 5 Jan 2004, Vesbula wrote:

> > > noticed in dmesg:
> > > using 4935 buffers containing 19740 KB of memory
> > > What is this memory doing? Can I set it to say 1M?
> >
> > See the descriptions of NBUF, BUFPAGES and BUFCACHE
> > in options(4). That's basically what you're
> > allocating
> > percentages of when you tweak "vm.*{min,max}". If
> > you
> > make it too small, you'll have lots of "free" memory
> > that even your program won't be able to use, so that
> > would seem to be counter-productive.
>
> That sounds strange to me. According to
> http://www.netbsd.org/Documentation/tune/5.html#a2
> vm.anonmax "sets the amount of physical memory".

Hmm. Could be. Try setting NBUF small (minimum is 16),
and see what happens.

Frederick