Обсуждение:

Поиск
Список
Период
Сортировка

От
"Mark Steben"
Дата:

Good afternoon,

 

We have a situation where we call our central queue processor from a remote machine using a Perl script.

We can process up to 1500 ‘type 1’ records followed by 5 ‘type 2 records.  We process any number successfully

Before we get the following error:

  ERROR:  could not send data to client: Broken pipe

 

There is no pattern or record that we see causing this error.

 

When we run this manually on the local machine we do not get this error.  It is a Postgres function that is called.

 

I would appreciate any insight into this matter.

 

Thank  you,

 

 

Mark Steben

Senior Database Administrator
@utoRevenue™
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office 
413-243-4809 Corporate Fax

msteben@autorevenue.com

Visit our new website at
www.autorevenue.com

 

IMPORTANT: The information contained in this e-mail message is confidential and is intended only for the named addressee(s). If the reader of this e-mail message is not the intended recipient (or the individual responsible for the delivery of this e-mail message to the intended recipient), please be advised that any re-use, dissemination, distribution or copying of this e-mail message is prohibited.  If you have received this e-mail message in error, please reply to the sender that you have received this e-mail message in error and then delete it.  Thank you.

 

Re:

От
Andrew Sullivan
Дата:
On Thu, Aug 09, 2007 at 01:05:16PM -0400, Mark Steben wrote:
>
>   ERROR:  could not send data to client: Broken pipe

> When we run this manually on the local machine we do not get this error.  It
> is a Postgres function that is called.

Is there a firewall in between that is timing out the TCP connection
because it's "idle"?

A


--
Andrew Sullivan  | ajs@crankycanuck.ca
When my information changes, I alter my conclusions.  What do you do sir?
        --attr. John Maynard Keynes

Re:

От
"Markus Wollny"
Дата:
Hi!

Is there a NAT firewall or something like it involved anywhere between the two machines? If so, the connection may time
outat some point in time, and neither server nor client would be notified that the connection is lost. An "ERROR: could
notsend data to client: Broken pipe" message indicates almost certainly some kind of connection problem, so it's not
reallya PostgreSQL issue, but more like a networking one. 

Kind regards

   Markus





Computec Media AG
Sitz der Gesellschaft und Registergericht: Fürth (HRB 8818)
Vorstandsmitglieder: Johannes S. Gözalan (Vorsitzender) und Niels Herrmann
Vorsitzender des Aufsichtsrates: Jürg Marquard
Umsatzsteuer-Identifikationsnummer: DE 812 575 276