Skip site navigation (1) Skip section navigation (2)

Re: Thread hangs in VisibleBufferedInputStream.readMore

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore
Date: 2009-05-07 07:29:11
Message-ID: 4A028DC7.8080504@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Daniel Migowski wrote:

> This is a problem with a full receive buffer on the client side blocking
> the server from writing more results while the client tries to send more
> commands to server. Either split your server input into several single
> statements or increase the receive buffer size of your client.

No it isn't, go look at the thread dumps, his application is blocking on
read not on write.

-O

In response to

Responses

pgsql-jdbc by date

Next:From: Simon RiggsDate: 2009-05-07 08:45:51
Subject: Re: Very strange performance decrease when reusing aPreparedStatement
Previous:From: Daniel MigowskiDate: 2009-05-07 06:56:29
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group