Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id D89F69FA241 for ; Fri, 1 Dec 2006 09:58:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 02664-08 for ; Fri, 1 Dec 2006 09:58:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id A215A9FA173 for ; Fri, 1 Dec 2006 09:58:07 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id 22C8BF2B4; Fri, 1 Dec 2006 08:58:06 -0500 (EST) Date: Fri, 1 Dec 2006 08:58:06 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Marcin Waldowski cc: pgsql-jdbc@postgresql.org Subject: Re: Locking on PGStream.ReceiveChar(PGStream.java:256) In-Reply-To: <45702B1A.4030401@sulechow.net> Message-ID: References: <45702B1A.4030401@sulechow.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/19 X-Sequence-Number: 16251 On Fri, 1 Dec 2006, Marcin Waldowski wrote: > Hello. > > JDBC version: 8.1-407 JDBC 3 > PostgreSQL version: 8.1.5-1 for Windows > Database encoding: UTF8 > > I observed a lock at at > org.postgresql.core.PGStream.ReceiveChar(PGStream.java:256) > > It happens after about hour of our perfomance test (high workload - 50 > threads are executing various short operations on database) > > What can I do to avoid this problem? > This sort of problem has been attributed to the windows port of postgresql. This thread here resulted in a fix that will be included in the 8.1.6 release and may fix the problem. http://archives.postgresql.org/pgsql-hackers/2006-10/thrd7.php#00289 Kris Jurka