Re: Strange behavior

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Bruno Almeida do Lago <teolupus(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange behavior
Date: 2006-01-07 04:47:41
Message-ID: 20060107044741.GA28574@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jan 06, 2006 at 03:26:27PM -0200, Bruno Almeida do Lago wrote:
> #!/bin/bash
>
> imprime () {
> echo `date +"%d/%m/%y %H:%M:%S |"` $*
> }
>
> BANCOS=`psql -Atl | cut -d"|" -f1 | grep -v template`
> for BANCO in $BANCOS; do
> imprime "Inicio do backup da base $BANCO"
> done
>
>
> [psql8(at)webix backup_psql8]$ ./backup.sh
> psql: could not send startup packet: Broken pipe

What version of PostgreSQL are you using? What operating system
and version? Does anything show up in the postmaster or system
logs? How repeatable is the problem? Does it happen with a one-line
script that executes just a simple psql command?

We've seen previous reports of "Broken pipe" that turned out to be
caused by exhausted resources -- could that be the problem?

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Peter 2006-01-07 05:37:29 Re: plpgsql question
Previous Message Michael Fuhr 2006-01-07 04:05:16 Re: plpgsql question