From: Scott Marlowe <scott.marlowe@gmail.com>
To: steve@outtalimits.com.au
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres && Swap
Date: Wed, 17 Sep 2008 18:40:19 -0600
Message-ID: <dcc563d10809171740uef9013clee242c224ed4ced5@mail.gmail.com> (raw)
In-Reply-To: <2f860102cfbbc11cfa67fe892b19417d@127.0.0.1>
References: <fc3c4427bfc0022dfbcec135dac9e964@127.0.0.1>
<dcc563d10809162346l18140d4y92b4679f0b3f2f9e@mail.gmail.com>
<2f860102cfbbc11cfa67fe892b19417d@127.0.0.1>
Well, there's plenty of negatives to not doing it. Like postgresql's
large shared_buffers getting swapped out to make more space for disk
buffers. So, pgsql goes to grab data from shared buffers and has to
wait for the OS to swap them back in.
On Wed, Sep 17, 2008 at 4:28 PM, <steve@outtalimits.com.au> wrote:
> Is there any negative effects by doing this?
>
> The swappiness is sitting on the default 60 at the moment.
>
> On Wed, 17 Sep 2008 00:46:13 -0600, "Scott Marlowe"
> <scott.marlowe@gmail.com> wrote:
>> On Tue, Sep 16, 2008 at 11:30 PM, <steve@outtalimits.com.au> wrote:
>>> Hi All
>>>
>>>
>>> I recently made a change to my Postgres Server and upped the
>> max_fsm_page
>>> size to 60000
>>> Since then, Postgres has been using about 30-80MB of swap space.
>>>
>>> This box has 4GB of RAM. All up Postgres has not been allocated no more
>>> than 3G
>>>
>>> Is this swapping something to be worried about?
>>
>> I recommend turning swappiness down in linux that should stop pg from
>> getting prematurely swapped out like that.
>
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-admin@postgresql.org
Cc: scott.marlowe@gmail.com, steve@outtalimits.com.au
Subject: Re: Postgres && Swap
In-Reply-To: <dcc563d10809171740uef9013clee242c224ed4ced5@mail.gmail.com>
* 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