pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Daniel Migowski <dmigowski@ikoffice.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore
Date: Thu, 07 May 2009 19:29:11 +1200
Message-ID: <4A028DC7.8080504@opencloud.com> (raw)
In-Reply-To: <4A02861D.1070505@ikoffice.de>
References: <20090428061649.GA5531@net-track.ch>
	<49F6A066.8010105@opencloud.com>
	<20090428114048.GF7543@net-track.ch>
	<20090428195540.GA21951@net-track.ch>
	<4A02861D.1070505@ikoffice.de>

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



view thread (9+ messages)  latest in thread

Message-ID: <4A028DC7.8080504@opencloud.com>
Permalink:  ../4A028DC7.8080504@opencloud.com/
Also on:    postgresql.org/message-id/4A028DC7.8080504@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, dmigowski@ikoffice.de
  Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore
  In-Reply-To: <4A028DC7.8080504@opencloud.com>
  References: <20090428061649.GA5531@net-track.ch> <49F6A066.8010105@opencloud.com> <20090428114048.GF7543@net-track.ch> <20090428195540.GA21951@net-track.ch> <4A02861D.1070505@ikoffice.de> <4A028DC7.8080504@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox