X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4FCB3D8760 for ; Wed, 31 Aug 2005 16:22:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21977-10 for ; Wed, 31 Aug 2005 19:22:31 +0000 (GMT) Received: from mail.nordicbet.com (mail.nordicbet.com [193.69.167.130]) by svr1.postgresql.org (Postfix) with ESMTP id 064C0D8754 for ; Wed, 31 Aug 2005 16:22:29 -0300 (ADT) Received: from [80.203.125.83] (helo=tobias.nordicbet.invalid) (Authenticated Sender=tobias@nordicbet.com) by mail.nordicbet.com with esmtpa (Exim 4.50 #1 (Debian)) id 1EAY7X-0004R0-Bp; Wed, 31 Aug 2005 21:19:49 +0200 Received: by tobias.nordicbet.invalid (Postfix, from userid 500) id 2466AAAEA; Wed, 31 Aug 2005 21:22:17 +0200 (CEST) Date: Wed, 31 Aug 2005 21:22:17 +0200 From: Tobias Brox To: Carlos Henrique Reimer Cc: pgsql-performance@postgresql.org Subject: Re: Swapping Message-ID: <20050831192217.GC5736@tobias.lan> References: <20050831182515.89931.qmail@web53209.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050831182515.89931.qmail@web53209.mail.yahoo.com> Organization: Group Nordicbet User-Agent: Mutt/1.5.10i Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/560 X-Sequence-Number: 14307 [Carlos Henrique Reimer - Wed at 03:25:15PM -0300] > I=B4m trying to tune a linux box with a 12 GB database and 4 GB RAM. Fi= rst > of all I would like to stop the swapping, so the shared_buffers and sor= t_mem > were decreased but even so it started swapping two hours after DBMS sta= rted > up. > =20 > I would like to know some suggestions how to discover why is it swappin= g? I agree with Tom Lane, nothing to worry about. Swapping is not a problem per se, aggressive swapping is a problem. If you are absolutely sure you want to ban all swapping, use "swapoff"? I'd trust linux to handle swap/cache sensibly. Eventually, become involv= ed with kernel hacking ;-) --=20 Notice of Confidentiality: This email is sent unencrypted over the networ= k, and may be stored on several email servers; it can be read by third parti= es as easy as a postcard. Do not rely on email for confidential information= .