Re: LOG: unexpected EOF on client connection

From: Bernd Nawothnig <Bernd(dot)Nawothnig(at)t-online(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: LOG: unexpected EOF on client connection
Date: 2009-08-05 18:40:19
Message-ID: j90pk6xlah.ln2@bernd.nawothnig.dialin.t-online.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message John 2009-08-05 23:51:13 two records per row from query
Previous Message Venkateswara Rao Bondada 2009-08-05 17:05:54 Re: Create table command fails with permission denied