Re: PostgreSQL 8.4.8 bringing my website down every evening

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.4.8 bringing my website down every evening
Date: 2011-06-16 20:32:09
Message-ID: BANLkTikf9+UOD7pNtdeSJKiX2bSPBcHWOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 16, 2011 at 2:08 PM, Alexander Farber
<alexander(dot)farber(at)gmail(dot)com> wrote:
> It shows (but I have switched pgbouncer from session
> to transaction mode now and it seems to have helped -
> Drupal+my scripts are running again and pg_top shows
> 2-3 SELECTs at the top and the rest is "idle"):
>
> # vmstat 1
> procs -----------memory---------- ---swap-- -----io---- --system--
> -----cpu------
>  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
>  3  1      0 2896644  30748 617744    0    0    70   359  350  260 61
> 1 37  1  0
>  2  0      0 2875252  30760 619516    0    0     8   140 1333 1231 46
> 1 53  0  0
>  2  0      0 2873888  30768 618160    0    0     0   332 1293 1294 59
> 1 40  1  0
>  2  0      0 2871904  30768 619920    0    0     0    16 1257 453 38
> 0 61  0  0
>  4  0      0 2872896  30768 618136    0    0     0    24 1204  574 51
> 1 48  0  0
>  2  1      0 2868308  30768 622096    0    0     0  5608 1304  603 66
> 1 33  0  0
>  2  0      0 2870628  30780 620688    0    0     0   236 1329  999 53
> 1 46  2  0

I assume that this is with things working properly. Keep an eye on it
when the server is running slow to see what's changing. So far it
looks like that one change may have made a difference but I wouldn't
assume you're completely out of the woods just yet.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-06-16 21:19:41 Re: Executing prepared statements via bind params
Previous Message Jerry LeVan 2011-06-16 20:29:13 Re: Installing Fedora 15 hosed my db...