From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 17:22:27 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 2819037B401 for ; Thu, 10 Apr 2003 17:22:27 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7214343F93 for ; Thu, 10 Apr 2003 17:22:26 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 193mJA-0000F4-00; Thu, 10 Apr 2003 17:22:20 -0700 Date: Thu, 10 Apr 2003 17:22:20 -0700 From: Nathan Kinkade To: David Banning Message-ID: <20030411002220.GA280@sub21-156.member.dsl-only.net> Mail-Followup-To: Nathan Kinkade , David Banning , questions@freebsd.org References: <20030410141136.A559@skytrackercanada.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20030410141136.A559@skytrackercanada.com> User-Agent: Mutt/1.4i Sender: Nathan Kinkade cc: questions@freebsd.org Subject: Re: X dies - out of swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nkinkade@fastmail.fm List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 00:22:27 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 k= illed: > out of swap space >=20 > 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=20 > web pages and I can telnet in, but I cannot control the console. > A "ps ax" shows that indeed X is not running. >=20 > I have searched the list for previous answers but I would like to find > out why it is happening. >=20 > The best suggestion I heard was to set datasize to 128M in > .initrc or .xsession. BTW, where is the man page for those files? >=20 > 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. Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+lgq8WZYS9EJQoEwRAqaHAJsHIFfpmLKy2Nuk2R0zwxIRozQnGACgwHz+ a/lwlLrCnGGgbxJ0lqNnaes= =a/O8 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--