From owner-freebsd-questions@FreeBSD.ORG Sat Jan 21 01:58:29 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 F2DC716A41F for ; Sat, 21 Jan 2006 01:58:28 +0000 (GMT) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5681143D45 for ; Sat, 21 Jan 2006 01:58:28 +0000 (GMT) (envelope-from msoulier@digitaltorque.ca) Received: from tigger.digitaltorque.ca (ppp-216-106-109-114.storm.ca [216.106.109.114]) by mail.storm.ca (8.12.10+Sun/8.12.10) with ESMTP id k0L1vdZo007769; Fri, 20 Jan 2006 20:57:47 -0500 (EST) Received: from tigger.digitaltorque.ca (localhost.localdomain [127.0.0.1]) by tigger.digitaltorque.ca (Postfix) with ESMTP id E507623DC6; Fri, 20 Jan 2006 20:57:33 -0500 (EST) Received: (from msoulier@localhost) by tigger.digitaltorque.ca (8.13.1/8.13.1/Submit) id k0L1vUgI032478; Fri, 20 Jan 2006 20:57:30 -0500 X-Authentication-Warning: tigger.digitaltorque.ca: msoulier set sender to msoulier@digitaltorque.ca using -f Date: Fri, 20 Jan 2006 20:57:29 -0500 From: "Michael P. Soulier" To: Kevin Kinsey Message-ID: <20060121015729.GD19607@tigger.digitaltorque.ca> Mail-Followup-To: Kevin Kinsey , Kris Kennaway , freebsd-questions@freebsd.org References: <20060120194358.GA41039@xor.obsecurity.org> <43D154FC.9030704@daleco.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sgneBHv3152wZ8jf" Content-Disposition: inline In-Reply-To: <43D154FC.9030704@daleco.biz> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, Kris Kennaway 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: Sat, 21 Jan 2006 01:58:29 -0000 --sgneBHv3152wZ8jf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20/01/06 Kevin Kinsey said: > I'd almost offer "definitely more likely", as the amount of swap > shown is less than 1/2 GB. Michael, how much RAM on this box? [msoulier@kanga ~]$ sysctl -a | grep Memory Virtual Memory: (Total: 720K, Active 537852K) Real Memory: (Total: 236228K Active 123640K) Shared Virtual Memory: (Total: 24812K Active: 11880K) Shared Real Memory: (Total: 12136K Active: 6672K) Free Memory Pages: 11692K Mem: 124M Active, 25M Inact, 75M Wired, 10M Cache, 34M Buf, 768K Free Swap: 471M Total, 67M Used, 403M Free, 14% Inuse It's not a lot, but it's always been fine for me when running Linux as a headless server.=20 > I once set up a box with 256M RAM and 512M swap, which was > all good && fine until I got a few extra $$ and decided to up the > RAM to 768M. After that, it died most every evening with Xorg > running out of swapspace. >=20 > If you've more RAM than swap, it's very possible that any process, > but especially larger ones, could cause problems like this.=20 > Fortunately, it's not too difficult to add some swap --- provided > you've some unformatted disk space available. I don't think that's the case. I did notice poorer performance while sshing into the box in the last few days. If the jdk does have a leak, that would explain it.=20 I think I'll keep an eye on the size of the java process.=20 [msoulier@kanga ~]$ top -b -d1 | grep java 1988 www 20 0 219M 34264K kserel 1:31 0.00% 0.00% java Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --sgneBHv3152wZ8jf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD0ZUJKGqCc1vIvggRAj/ZAKCD7f0rQaZSg74aqdDtbrk68F6rCACdFtsv k/Qy8xuuTxGbcvqnZVndwN0= =gkIb -----END PGP SIGNATURE----- --sgneBHv3152wZ8jf--