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@ioko.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: DB Cluster hanging
Date: Thu, 13 Oct 2005 13:18:23 -0400
Message-ID: <23602.1129223903@sss.pgh.pa.us> (raw)
In-Reply-To: <72558D9A7573814BB4082A28843E03D401DA5548@intyodc01.uk.ioko365.com>
References: <72558D9A7573814BB4082A28843E03D401DA5548@intyodc01.uk.ioko365.com>

"Nigel Bishop" <Nigel.Bishop@ioko.com> writes:
> Hmm...  a possible bug eh!  I'll make sure that the log destination
> doesn't fill again

> This is what I have in the postgresql.conf file:

> log_destination = 'stderr'
> redirect_stderr = true    

I tried to reproduce the problem, without any success.  What I did:
* set up a small loopback filesystem, so I didn't have to actually fill
  my whole disk;
* point Postgres logging into the loopback filesystem;
* deliberately fill the filesystem.

I didn't see any lockup.  The syslogger subprocess started bleating on
the original postmaster stderr:
	could not write to log file: No space left on device
	could not write to log file: No space left on device
but it dropped the messages rather than hanging up, and the rest
of the database sailed on just fine.  When I freed up space on the
loopback filesystem, logging resumed without any problem.

So I dunno what went wrong for you.  System-specific issue maybe?
I tried this on Fedora Core 4 with CVS-tip Postgres (but the syslogger
code hasn't changed materially since 8.0.2).

Also, are you sure the postmaster is 8.0.3?  There was an
infinite-recursion-on-error bug in syslogger in 8.0 and 8.0.1.

			regards, tom lane



view thread (7+ messages)

Message-ID: <23602.1129223903@sss.pgh.pa.us>
Permalink:  ../23602.1129223903@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23602.1129223903@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@ioko.com
  Subject: Re: DB Cluster hanging
  In-Reply-To: <23602.1129223903@sss.pgh.pa.us>
  References: <72558D9A7573814BB4082A28843E03D401DA5548@intyodc01.uk.ioko365.com> <23602.1129223903@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