Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0076A633753 for ; Thu, 7 May 2009 04:29:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60538-10 for ; Thu, 7 May 2009 04:29:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 75024633688 for ; Thu, 7 May 2009 04:29:18 -0300 (ADT) Received: from 219-89-243-186.adsl.xtra.co.nz ([219.89.243.186] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1M1y2a-0002lq-QK; Thu, 07 May 2009 19:29:12 +1200 Message-ID: <4A028DC7.8080504@opencloud.com> Date: Thu, 07 May 2009 19:29:11 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Daniel Migowski CC: pgsql-jdbc@postgresql.org Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore References: <20090428061649.GA5531@net-track.ch> <49F6A066.8010105@opencloud.com> <20090428114048.GF7543@net-track.ch> <20090428195540.GA21951@net-track.ch> <4A02861D.1070505@ikoffice.de> In-Reply-To: <4A02861D.1070505@ikoffice.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200905/44 X-Sequence-Number: 19594 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