pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernd Nawothnig <Bernd.Nawothnig@t-online.de>
To: pgsql-sql@postgresql.org
Subject: Re: LOG:  unexpected EOF on client connection
Date: Wed, 05 Aug 2009 20:40:19 +0200
Message-ID: <j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de> (raw)

Hello,

A client application written in C# + npgsql 2.0.6 causes reproducable
log entries like this:

LOG:  unexpected EOF on client connection
LOG:  could not receive data from client: Die Verbindung wurde vom
Kommunikationspartner zurückgesetzt(*)

(*) Connection reset by peer

The responsable Programmer claims autovacuum caused the malfunction.
But after disabling autovacuum the same error occured. Another
program, written Python + psycopg2, which invokes exactly the same
function resulting the above connection reset in the C# program runs
without any problem while inserting far more than 10 times the amount
of data the C# program should do. Even running 2 parallel instances of
the Python program does not result in any error.


Server is version 8.4 + Postgis 1.4 (both compiled with gcc 4.3), OS
is Debian Lenny running on a Quadcore-Xeon Dell Precision 690 with 2
GB RAM. When the above error occurs the C# program is the only client
connecting to the server.


What may be the most probable cause of that?



Bernd

-- 
No time toulouse



view thread (4+ messages)  latest in thread

Message-ID: <j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de>
Permalink:  ../j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de/
Also on:    postgresql.org/message-id/j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: Bernd.Nawothnig@t-online.de
  Subject: Re: LOG:  unexpected EOF on client connection
  In-Reply-To: <j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de>

* 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