pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: does wal archiving block the current client connection?
Date: Mon, 15 May 2006 14:23:09 -0400
Message-ID: <10692.1147717389@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.64.0605150914360.9581@discord.dyndns.org>
References: <Pine.LNX.4.64.0605150914360.9581@discord.dyndns.org>

Jeff Frost <jeff@frostconsultingllc.com> writes:
> I've run into a problem with a PITR setup at a client.  The problem is that 
> whenever the CIFS NAS device that we're mounting at /mnt/pgbackup has 
> problems, it seems that the current client connection gets blocked and this 
> eventually builds up to a "sorry, too many clients already" error.  I'm 
> wondering if this is expected behavior with the archive command

No, I can't see what the connection should be there.  It's supposed to
be designed so that the archive command can take its sweet old time and
nothing happens except that a backlog of WAL files builds up in pg_xlog.

What PG version is this exactly?  Are you sure that the only connection
of the NAS device to PG operations is through the archive script, ie,
you don't have any part of the normal PG data directory mounted on it?

			regards, tom lane



view thread (55+ messages)  latest in thread

Message-ID: <10692.1147717389@sss.pgh.pa.us>
Permalink:  ../10692.1147717389@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10692.1147717389@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, jeff@frostconsultingllc.com
  Subject: Re: does wal archiving block the current client connection?
  In-Reply-To: <10692.1147717389@sss.pgh.pa.us>
  References: <Pine.LNX.4.64.0605150914360.9581@discord.dyndns.org> <10692.1147717389@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