X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7B45FD1B53E for ; Fri, 26 Sep 2003 00:30:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 86447-08 for ; Thu, 25 Sep 2003 21:30:29 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8A26AD1B52B for ; Thu, 25 Sep 2003 21:30:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8Q0UN6c005850; Thu, 25 Sep 2003 20:30:23 -0400 (EDT) To: Raj Mathur Cc: pgsql-admin@postgresql.org Subject: Re: Postgresql going to sleep? In-reply-to: <16243.16322.159906.61824@mail.linux-delhi.org> References: <16243.16322.159906.61824@mail.linux-delhi.org> Comments: In-reply-to Raj Mathur message dated "Fri, 26 Sep 2003 00:49:30 +0530" Date: Thu, 25 Sep 2003 20:30:23 -0400 Message-ID: <5849.1064536223@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/425 X-Sequence-Number: 10513 Raj Mathur writes: > I'm consistently getting into a situation where the database client > just goes to sleep in a query after some number of queries in quick > succession. Using PostgreSQL 7.2.3 on Red Hat Linux 8.0. The > postgres process shows up as ``idle in transaction'' in a ps. In that case, the backend is waiting for input from the client. If the client thinks it is waiting for the backend, I'd wonder about a missing "fflush" or something like that. What client software are you using? regards, tom lane