Subject: Re: no swap (was Re: Problems with 1.6_Beta5 install on i386 / Thinkpad 770)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Rasputin <rasputin@idoru.mine.nu>
List: current-users
Date: 08/08/2002 17:10:10
* Jeremy C. Reed <reed@reedmedia.net> [020808 16:57]:
> On Thu, 8 Aug 2002, Rasputin wrote:
> 
> > > Is swap space really needed these days, except perhaps for a crash coredump?
> > >
> > > I'd prefer NO swap space if possible.
> >
> > Just set
> > no_swap=YES
> > in rc.conf
> >
> > I do it on my MobilePro since it only has a 128Mb CF card as a disk,
> > and I don't want to wear it out too quickly (limited writes).
> >
> > Not ideal, and it will lock up if it runs out of RAM (only 32Mb),
> > but suits my needs.
> 
> Does everything lock up?
> 
> When I run out of memory with no swap I get things like:
> 
>   /netbsd: UVM: pid 2816 (gimp-1.2), uid 0 killed: out of swap
> 
> And just some processes are killed.

Well, X seems to hang, that's enough to stop me seeing any more -
but this is a pretty rare event, and could just as easily be down to loss
of power (no APM on hpcmips, so you don't get much warnings).

If what you say is right, that's reassuring...

-- 
Rasputin :: Jack of All Trades - Master of Nuns