From owner-freebsd-questions Thu Feb 25 10:55:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id ED66A14DFA for ; Thu, 25 Feb 1999 10:55:13 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id OAA03823; Thu, 25 Feb 1999 14:03:33 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902251903.OAA03823@cc942873-a.ewndsr1.nj.home.com> Subject: Re: swap space problem In-Reply-To: <36D58945.772F5D88@net.com> from Nesi Unanaowo at "Feb 25, 99 09:32:53 am" To: nesi_unanaowo@net.com (Nesi Unanaowo) Date: Thu, 25 Feb 1999 14:03:33 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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