Skip site navigation (1) Skip section navigation (2)

Re: heavy swapping, not sure why

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: heavy swapping, not sure why
Date: 2011-08-30 09:53:36
Message-ID: CAOR=d=0zg5gYCjHVhR+L8T-oq5R2gw1x6EZYFRet_t4xnJ6U1A@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
On Tue, Aug 30, 2011 at 2:50 AM, Sim Zacks <sim(at)compulab(dot)co(dot)il> wrote:
>
> Instead of restarting the database try swapoff -a && swapon -a and see if
> that helps performance. If it is that little swap in use, it might be
> something else clogging up the works.

Check to see if kswapd is going crazy or not.  If it is, that's the
pathological behavior I was talking about earlier.  It works real hard
at doing nothing and the machine grinds to a halt.  swapoff -a fixed
it.  And it was happening about every 2 weeks for me too.

In response to

pgsql-general by date

Next:From: Boszormenyi ZoltanDate: 2011-08-30 10:00:43
Subject: Re: heavy swapping, not sure why
Previous:From: Scott MarloweDate: 2011-08-30 09:52:15
Subject: Re: heavy swapping, not sure why

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group