Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdMSd-0007S2-Gi for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 16:25:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdMSc-0003E4-Vd for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 16:25:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdDHx-0000o9-4m for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 06:37:41 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdDHt-0003ZS-Ma for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 06:37:40 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WdDHq-0001tY-NW for pgsql-bugs@postgresql.org; Wed, 23 Apr 2014 23:37:34 -0700 Date: Wed, 23 Apr 2014 23:37:34 -0700 (PDT) From: tcoq To: pgsql-bugs@postgresql.org Message-ID: <1398321454698-5801355.post@n5.nabble.com> Subject: LOG: incomplete message from client MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi together, I am batch-inserting a wide table with 50 columns via JAVA JDBC. (Postgres 9.2.8) Sporadically I run into this error: (server) LOG: incomplete message from client (client): : 16:26:06,830 WARN taskExecutor-3 spi.SqlExceptionHelper:143 - SQL Error: 0, SQLState: 08006 : 16:26:06,831 ERROR taskExecutor-3 spi.SqlExceptionHelper:144 - An I/O error occurred while sending to the . : 16:26:06,834 WARN taskExecutor-3 impl.NewPooledConnection:486 - [c3p0] A PooledConnection that has already signalled a Connection error is still in use! : 16:26:06,835 WARN taskExecutor-3 impl.NewPooledConnection:487 - [c3p0] Another error has occurred [ org.postgresql.util.PSQLException: This connection has been closed. ] which will not be reported to listeners! org.postgresql.util.PSQLException: This connection has been closed. at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:837) at org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:798) at com.mchange.v2.c3p0.impl.NewProxyConnection.getAutoCommit(NewProxyConnection.java:985) at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.isAutoCommit(LogicalConnectionImpl.java:392) at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.afterNonTransactionalQuery(TransactionCoordinatorImpl.java:195) at org.hibernate.internal.SessionImpl.afterOperation(SessionImpl.java:594) at org.hibernate.internal.SessionImpl.executeNativeUpdate(SessionImpl.java:1289) at org.hibernate.internal.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:400) >> Im only inserting empy values but one column differs in size: URL-column. When i decrease the batch-size the problem occurs less frequent. I believe the problem depends on the varying URL size I want to insert. Is there any way to debug or are there any restrictions on JDBC size for BATCH inserts? Or is it possible that there are invalid characters inside some URLs? Best regards Steffen -- View this message in context: http://postgresql.1045698.n5.nabble.com/LOG-incomplete-message-from-client-tp5801355.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs