From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 10:16:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 300DB37B401 for ; Fri, 11 Apr 2003 10:16:06 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFABA43FBD for ; Fri, 11 Apr 2003 10:16:04 -0700 (PDT) (envelope-from david@skytracker.ca) Received: from skytrackercanada.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h3BHIJ88012155 for ; Fri, 11 Apr 2003 13:18:19 -0400 Received: (from root@localhost) by skytrackercanada.com (8.12.6/8.12.6) id h3BHFxVo020426 for questions@freebsd.org; Fri, 11 Apr 2003 13:15:59 -0400 (EDT) (envelope-from david@skytracker.ca) Received: from skytrackercanada.com (localhost [127.0.0.1]) by skytrackercanada.com (8.12.6/8.12.6) with ESMTP id h3BHFx1j020396; Fri, 11 Apr 2003 13:15:59 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.6/8.12.6/Submit) id h3BHFuPP020395; Fri, 11 Apr 2003 13:15:56 -0400 (EDT) (envelope-from david) Date: Fri, 11 Apr 2003 13:15:56 -0400 From: David Banning To: Nathan Kinkade , David Banning , questions@freebsd.org Message-ID: <20030411131556.A20362@skytrackercanada.com> References: <20030410141136.A559@skytrackercanada.com> <20030411002220.GA280@sub21-156.member.dsl-only.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030411002220.GA280@sub21-156.member.dsl-only.net>; from nkinkade@dsl-only.net on Thu, Apr 10, 2003 at 05:22:20PM -0700 X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) Subject: Re: X dies - out of swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 17:16:06 -0000 On Thu, Apr 10, 2003 at 05:22:20PM -0700, Nathan Kinkade wrote: > On Thu, Apr 10, 2003 at 02:11:37PM -0400, David Banning wrote: > > Apr 10 13:41:39 skytrackercanada /kernel: swap_pager_getswapspace: failed > > Apr 10 13:42:29 skytrackercanada last message repeated 79 times > > Apr 10 13:42:29 skytrackercanada last message repeated 16 times > > Apr 10 13:42:29 skytrackercanada /kernel: pid 355 (XFree86), uid 0, was killed: > > out of swap space > > > > All of a sudden, every few days, under no great load, X dies and I lose > > my keyboard. The rest of the machine runs fine. It is still serving > > web pages and I can telnet in, but I cannot control the console. > > A "ps ax" shows that indeed X is not running. > > > > I have searched the list for previous answers but I would like to find > > out why it is happening. > > > > The best suggestion I heard was to set datasize to 128M in > > .initrc or .xsession. BTW, where is the man page for those files? > > > > Any suggestion or info on the above subject would be helpful. > > How much memory does this machine have? How much swap space? It seems > that a reasonable amount of memory and a suitable sized swap partition > should be enough. I have had this problem before, but on a diskless > terminal with only 32MB memory and no swap. I got rid of the problem by > simply removing unneeded modules from X, however, this shouldn't really > be necessary if you are using a disk and some swap. Sorry about the lack of information. Here is the header of top; CPU states: 0.4% user, 0.0% nice, 0.4% system, 0.4% interrupt, 98.8% idle Mem: 56M Active, 101M Inact, 32M Wired, 11M Cache, 35M Buf, 48M Free Swap: 100M Total, 3580K Used, 96M Free, 3% Inuse Forgive me if I do not provide enough info. I am completely ingnorant of memory, so I am just cutting my teeth here. Where are modules loaded in X? How do you remove them?