Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 95FE0634D06 for ; Wed, 5 Aug 2009 15:49:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 24664-04 for ; Wed, 5 Aug 2009 18:49:22 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 3BED0632842 for ; Wed, 5 Aug 2009 15:49:22 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.3/8.14.3) with ESMTP id n75InJ3F018552 for ; Wed, 5 Aug 2009 15:49:19 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.3/8.14.3/Submit) id n75IhAr7008177 for pgsql-sql@postgresql.org; Wed, 5 Aug 2009 15:43:10 -0300 (ADT) (envelope-from news) From: Bernd Nawothnig X-Newsgroups: pgsql.sql Subject: Re: LOG: unexpected EOF on client connection Date: Wed, 05 Aug 2009 20:40:19 +0200 Organization: CUTEC Institut GmbH Lines: 34 Message-ID: Reply-To: Bernd.Nawothnig@web.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet-abuse@t-online.de X-ID: SxcJVkZTQeDsEZuMM1YhXRKON0jAS5ClfEcBtJboJcnDqh1ba00igc User-Agent: slrn/pre1.0.0-11 (Linux) To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200908/20 X-Sequence-Number: 32929 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