X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 76FEB9DC854 for ; Thu, 2 Mar 2006 15:49:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50364-06 for ; Thu, 2 Mar 2006 15:49:00 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mir3-fs.mir3.com (mail.mir3.com [65.208.188.100]) by postgresql.org (Postfix) with ESMTP id 915E79DC9CC for ; Thu, 2 Mar 2006 15:48:56 -0400 (AST) Received: mir3-fs.mir3.com 172.16.1.11 from 172.16.2.68 172.16.2.68 via HTTP with MS-WebStorage 6.0.6249 Received: from archimedes.mirlogic.com by mir3-fs.mir3.com; 02 Mar 2006 11:48:45 -0800 Subject: Re: Exception: An I/O error occured while sending to the From: Mark Lewis To: Jan de Visser Cc: pgsql-jdbc@postgresql.org In-Reply-To: <200603021434.01069.jdevisser@digitalfairway.com> References: <200603021434.01069.jdevisser@digitalfairway.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: MIR3, Inc. Date: Thu, 02 Mar 2006 11:48:45 -0800 Message-Id: <1141328925.17684.99.camel@archimedes> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-22) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.132 required=5 tests=[AWL=0.131, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.132 X-Spam-Level: X-Archive-Number: 200603/10 X-Sequence-Number: 14791 You might have more luck raising this issue on pgsql-hackers instead of pgsql-jdbc, because there's really nothing JDBC-specific about the server rejecting incoming connections under load. -- Mark Lewis On Thu, 2006-03-02 at 14:34 -0500, Jan de Visser wrote: > Hello, > > While doing performance tests on Windows Server 2003 I get the following: > > An I/O error occured while sending to the backend. > org.postgresql.util.PSQLException: An I/O error occured while sending to the > backend. > at > org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:214) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:250) > > > In my server log, I have: > > 2006-03-02 12:31:02 5692 6436342 LOG: could not receive data from client: A > non-blocking socket operation could not be completed immediately. > > At the time my box is fairly heavy loaded, but still responsive. Server and > JBoss appserver live on the same dual 2Ghz Opteron. > > A quick Google told me that: > > 1. More people have seen this. > 2. No solutions. > 3. The server message appears to indicate an unhandled WSAEWOULDBLOCK winsock > error on recv(), which MSDN said is to be expected and should be retried. > > Is this a known bug? > > jan > >