From owner-freebsd-questions@FreeBSD.ORG Fri Jan 20 19:43:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DB56B16A41F for ; Fri, 20 Jan 2006 19:43:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4C943D45 for ; Fri, 20 Jan 2006 19:43:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 8113D1A3C1D; Fri, 20 Jan 2006 11:43:59 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CADF55190B; Fri, 20 Jan 2006 14:43:58 -0500 (EST) Date: Fri, 20 Jan 2006 14:43:58 -0500 From: Kris Kennaway To: "Michael P. Soulier" Message-ID: <20060120194358.GA41039@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: out of swap? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 19:44:00 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 20, 2006 at 11:14:29AM -0500, Michael P. Soulier wrote: > Hey people, >=20 > I'm running 5.4, and I just found a ton of these in my daily security run. >=20 > kanga.digitaltorque.ca kernel log messages: > > swap_pager_getswapspace(6): failed > > swap_pager_getswapspace(5): failed > > swap_pager_getswapspace(3): failed > > swap_pager_getswapspace(3): failed > > swap_pager_getswapspace(3): failed > > swap_pager_getswapspace(4): failed >=20 > I'm running jdk 1.4.2 and tomcat 5.5.9, and I noticed that it was down > this morning. My swap is fine now. >=20 > [msoulier@kanga ~]$ swapinfo > Device 1K-blocks Used Avail Capacity > /dev/ad0s1b 482120 66268 415852 14% >=20 > So I'm assuming that there's a memory leak in jdk 1.4.2, and it slowly > used up all my memory. >=20 > Sound right? Or you just don't have enough virtual memory (RAM + swap) to handle your peak loads. This is perhaps more likely. Kris --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD0T1+Wry0BWjoQKURAh3GAKD77hiGmqicj8oXRAZ3w+AcWLS2RACgt+c+ AeEN+TQX5h4uWoDtJodyiW8= =NsyP -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--