Re: postgre restarts in short period

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: edlef <edlef(at)freemail(dot)hu>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgre restarts in short period
Date: 2013-08-06 14:34:27
Message-ID: CAOR=d=0C2GBvGfWH+-vx51sd=ZGOaFQoB-YZutF1xUz38q_-iA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 6, 2013 at 7:56 AM, edlef <edlef(at)freemail(dot)hu> wrote:
> Hi,
>
> Our client has began to complain for a few days that the application can not
> connect to the database more times.
> I looked into the logs and as far as I can see, postgresql restarts more
> times a day. I made a vacuum (full, freeze, analyze) on the database and
> reindexed everything, but it looks, nothing has changed.
>
> Server data:
> Windows Standard Server 2007 SP2 64 bit
> Intel Xeon 3GHz
> 4MB ram
>
> Postgresql 8.2 32 bit
>
> The application is writen in php.
>
>
> I paste here the logs for one day:
>
> postgresql-2013-08-05_044313.log:
> 2013-08-05 04:43:13 FATAL: the database system is starting up
> 2013-08-05 04:43:13 LOG: database system was interrupted at 2013-08-04
> 21:17:08
> 2013-08-05 04:43:13 LOG: checkpoint record is at A/C07BA3D0
> 2013-08-05 04:43:13 LOG: redo record is at A/C07BA3D0; undo record is at

SNIP

> I hope somebody has an idea how I can correct it.
> Thanks for the help!

We need to see what happens BEFORE the database was starting back up.
I.e. what caused it to shut down / restart / crash etc. The fact that
it's starting back up after a crash doesn't tell us much.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message edlef 2013-08-06 14:45:24 Re: postgre restarts in short period
Previous Message Adrian Klaver 2013-08-06 14:32:00 Re: postgre restarts in short period