For the benefit of anyone else who has this problem, it seems to be
alleviated, at least in our case by rebooting the box every night. Not ideal
by any means but better than having the application hang. Which kind of
suggests some resource issue, investing with linux sar command though doesnt
reveal any process or file limits being reached.
On 1/16/06, Colin Taylor <colin(dot)taylor(at)gmail(dot)com> wrote:
> 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.
> "Thread-571" prio=1 tid=0x085745b0 nid=0x124e runnable
> 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(
> at org.postgresql.core.v3.QueryExecutorImpl.fetch (
> - locked <0x847aa0b0> (a org.postgresql.core.v3.QueryExecutorImpl)
> at org.postgresql.jdbc2.AbstractJdbc2ResultSet.next(
> at org.ofbiz.entity.util.EntityListIterator.next(
In response to
pgsql-jdbc by date
|Next:||From: Lucas Sanabio||Date: 2006-01-25 18:45:59|
|Subject: Inserting the wrong date|
|Previous:||From: Oliver Jowett||Date: 2006-01-25 00:40:49|
|Subject: Re: ERROR: The backend has broken the connection -- AND: FATAL:|