pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Brox <tobias@nordicbet.com>
To: Carlos Henrique Reimer <carlosreimer@yahoo.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: Swapping
Date: Wed, 31 Aug 2005 21:22:17 +0200
Message-ID: <20050831192217.GC5736@tobias.lan> (raw)
In-Reply-To: <20050831182515.89931.qmail@web53209.mail.yahoo.com>
References: <20050831182515.89931.qmail@web53209.mail.yahoo.com>

[Carlos Henrique Reimer - Wed at 03:25:15PM -0300]
> I´m trying to tune a linux box with a 12 GB database and 4 GB RAM. First
> of all I would like to stop the swapping, so the shared_buffers and sort_mem
> were decreased but even so it started swapping two hours after DBMS started
> up.
>  
> I would like to know some suggestions how to discover why is it swapping?

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 involved
with kernel hacking ;-)

-- 
Notice of Confidentiality: This email is sent unencrypted over the network,
and may be stored on several email servers; it can be read by third parties
as easy as a postcard.  Do not rely on email for confidential information.



view thread (4+ messages)  latest in thread

Message-ID: <20050831192217.GC5736@tobias.lan>
Permalink:  ../20050831192217.GC5736@tobias.lan/
Also on:    postgresql.org/message-id/20050831192217.GC5736@tobias.lan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tobias@nordicbet.com, carlosreimer@yahoo.com.br
  Subject: Re: Swapping
  In-Reply-To: <20050831192217.GC5736@tobias.lan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox