pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nigel Bishop <nigel.bishop@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: DB Cluster hanging
Date: Thu, 13 Oct 2005 12:12:08 -0400
Message-ID: <23010.1129219928@sss.pgh.pa.us> (raw)
In-Reply-To: <7e974e490510130822q3a853039n4c96991179deae5a@mail.gmail.com>
References: <7e974e490510130822q3a853039n4c96991179deae5a@mail.gmail.com>

Nigel Bishop <nigel.bishop@gmail.com> writes:
> Last night at 3am our Postgresql DB cluster hung.  At the time data
> was being loaded.  The parameter log_statement_stats in the
> postgresql.conf file was set to true.  This was churning out data into
> the logfile which was switching every 10Mb.  Eventually the partition
> where the logfiles are written to filled up – fair enough – this had
> been going on since about 5.30pm the previous evening and the logfiles
> were being generated at the rate of 4/5 a minute.  The partition was
> cleared of old logs and I expected the DB to spring in to life, but no
> it just sat there.  I could not connect with psql or pg_ctl to
> shutdown the cluster.

How was the logging being done exactly?  syslog?  redirect_stderr?
If redirect_stderr, this could well be a PG bug --- I kinda doubt
anyone has tested that scenario.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <23010.1129219928@sss.pgh.pa.us>
Permalink:  ../23010.1129219928@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23010.1129219928@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nigel.bishop@gmail.com
  Subject: Re: DB Cluster hanging
  In-Reply-To: <23010.1129219928@sss.pgh.pa.us>
  References: <7e974e490510130822q3a853039n4c96991179deae5a@mail.gmail.com> <23010.1129219928@sss.pgh.pa.us>

* 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