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 223859DC81E for ; Sun, 15 Jan 2006 23:35:27 -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 11481-09 for ; Sun, 15 Jan 2006 23:35:31 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by postgresql.org (Postfix) with ESMTP id BB8A09DC816 for ; Sun, 15 Jan 2006 23:35:24 -0400 (AST) Received: by wproxy.gmail.com with SMTP id i3so970419wra for ; Sun, 15 Jan 2006 19:35:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=keLA12SCdsKgGbxvOIOTVZs6/zA0AotlxCqjFVXxBFMX7MT7iE7Geke4t+3OgCpaHn8JFYgxpzf3k44XxOdKyF2PBvO9N2igrslk4UgJP5Xsez7ioMwOD+e+BGJqAKMmUxX9vv9Y60y/FHZJ18P2ng6ehNVHG9eqK6g+LOiaQ+g= Received: by 10.54.132.7 with SMTP id f7mr3739342wrd; Sun, 15 Jan 2006 19:35:29 -0800 (PST) Received: by 10.54.132.8 with HTTP; Sun, 15 Jan 2006 19:35:29 -0800 (PST) Message-ID: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com> Date: Mon, 16 Jan 2006 16:35:29 +1300 From: Colin Taylor To: pgsql-jdbc@postgresql.org Subject: Socket read fails MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_25531_28305357.1137382529623" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200601/64 X-Sequence-Number: 14515 ------=_Part_25531_28305357.1137382529623 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi there, wondering if anyone could shed some light on selects intermittently not returning any data on our production server. Symptoms are: - occurs in several different parts of our codebase but apparently its the same jdbc codepath [below] - these codepaths execute fine the vast majority of the time - thread blocks on read forever - database doesnt show any query running. - system has a couple of high load processes that run every day and we only see the errors there, though the majority of the systems' queries are done then. Any suggestions for what I could do to fix or help diagnose the problem greatly appreciated. We saw these problems with v7, v8 and now seeming more frequently (ie every few days) with 8.1 jdbc and 8.1 server. We run ES Linux 3. cheers Colin. "Thread-571" prio=3D1 tid=3D0x085745b0 nid=3D0x124e runnable [759fe000..759= ff87c] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read1(BufferedInputStream.java:222) at java.io.BufferedInputStream.read(BufferedInputStream.java:277) - locked <0x847ac890> (a java.io.BufferedInputStream) at org.postgresql.core.PGStream.Receive(PGStream.java:445) at org.postgresql.core.PGStream.Receive(PGStream.java:427) at org.postgresql.core.PGStream.ReceiveTupleV3(PGStream.java:369) at org.postgresql.core.v3.QueryExecutorImpl.processResults( QueryExecutorImpl.java:1283) at org.postgresql.core.v3.QueryExecutorImpl.fetch( QueryExecutorImpl.java:1447) - locked <0x847aa0b0> (a org.postgresql.core.v3.QueryExecutorImpl) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.next( AbstractJdbc2ResultSet.java:1840) at org.ofbiz.entity.util.EntityListIterator.next( EntityListIterator.java:269) ------=_Part_25531_28305357.1137382529623 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi there, wondering if anyone could shed some light on selects intermittent= ly not returning any data on our production server.

Symptoms are:&n= bsp;  

- occurs in several different parts of our codebas= e but apparently its the same jdbc codepath [below]
- these codepaths execute fine the vast majority of the time
- threa= d blocks on read forever
- database doesnt show any query running.
- = system has a couple of high load processes that run every day and we only s= ee the errors there, though the majority of the systems' queries are done t= hen.

Any suggestions for what I could do to fix or help diagnose the pro= blem greatly appreciated. We saw these problems with v7, v8 and now seeming= more frequently (ie every few days) with 8.1 jdbc and 8.1 server.

We run ES Linux 3.

cheers
Colin.

"Thread-571" pr= io=3D1 tid=3D0x085745b0 nid=3D0x124e runnable [759fe000..759ff87c]
 = ;       at java.net.SocketInputStream.socketR= ead0(Native Method)
        at java.n= et.SocketInputStream.read (SocketInputStream.java:129)
        = at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
 =        at java.io.BufferedInputStream.read1(B= ufferedInputStream.java:222)
        = at java.io.BufferedInputStream.read (BufferedInputStream.java:277)
       = ; - locked <0x847ac890> (a java.io.BufferedInputStream)
 &nbs= p;      at org.postgresql.core.PGStream.Receive(PG= Stream.java:445)
        at org.postg= resql.core.PGStream.Receive (PGStream.java:427)
        at org.po= stgresql.core.PGStream.ReceiveTupleV3(PGStream.java:369)
  &nb= sp;     at org.postgresql.core.v3.QueryExecutorImpl.pro= cessResults(QueryExecutorImpl.java:1283)
     &= nbsp;  at org.postgresql.core.v3.QueryExecutorImpl.fetch (QueryExecutorImpl.java:1447)
       = - locked <0x847aa0b0> (a org.postgresql.core.v3.QueryExecutorImpl)        at org.postgresql.jdbc2.Abstra= ctJdbc2ResultSet.next(AbstractJdbc2ResultSet.java:1840)
  &nbs= p;     at=20 org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:269) ------=_Part_25531_28305357.1137382529623--