Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 14:03:33 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        nesi_unanaowo@net.com (Nesi Unanaowo)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: swap space problem
Message-ID:  <199902251903.OAA03823@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <36D58945.772F5D88@net.com> from Nesi Unanaowo at "Feb 25, 99 09:32:53 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Nesi Unanaowo wrote,
> Hi,
>  I keep getting this message when in the X window environment.
> 
> /kernl:swap_pager:out of swap space
> 
> As a result the system grinds to a halt and i have to exit from X to
> prevent the system from hanging. This is a standalone Pentium II
> (350 MhZ) 128MB ram and 120MB of device swap. There are no jobs
> running on my system. I am running FreeBSD 3.0

This should not be using up that much swap space. This may be a sign
something else is wrong. What is running? What is the output of 
'ps aux'? 

That said, you probably should have more swap.

> How do i add more swap space to my system? Although, i would think that
> there was no need for this at this time. I did try to use "mkfile" but
> it does
> not seem to be supported.

Three basic ways to add swap (off the top of my head),

1) Add a new device with more swap.

2) Reconfigure (repartiton) and existing device to change swap size or
   add new swap.

3) Swap from a vnode device.

Since you were using 'mkfile' I assume you were trying to do (3). You
can use 'dd' to write a file for the job.

HTH. And I just did (2) Tuesday if you prefer that method.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902251903.OAA03823>