Subject: Re: Swap over NFS
To: Jack Lloyd <lloyd@acm.jhu.edu>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 04/09/2002 14:02:59
On Tue, 9 Apr 2002, Jack Lloyd wrote:

> I've got a diskless machine with 64 megs of memory. I've set up swap as
> shown in the diskless howto, but I've seen high-memory applications (mostly
> gcc) die with OOM errors. I configured something like 200 megabytes of
> swap, and I would be amazed if GCC were using 250+ megs of memory (in this
> particular case), so I'm really kind of confused. Is there some way I can
> find out if swap working? Should I switch to using a swap file perhaps? (I
> am currently using a partition, though of course it's just a file on the
> NFS server's side).

Is the error something like "...virtual memory exhausted"? That means
you're coming up against your shell's limits. See your shell's man page
-- Bourne style shells use "ulimit", Csh style shells use "limit".

Frederick