Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D3E0D9F9B19 for ; Thu, 23 Aug 2007 15:52:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 95327-09 for ; Thu, 23 Aug 2007 15:52:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by postgresql.org (Postfix) with ESMTP id 1EA379F9A2D for ; Thu, 23 Aug 2007 15:52:09 -0300 (ADT) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (vanquish.pitbpa0.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Thu, 23 Aug 2007 14:52:08 -0400 id 00056407.46CDD758.0000E6EB Date: Thu, 23 Aug 2007 14:52:08 -0400 From: Bill Moran To: "Sachchida Ojha" Cc: pgsql-performance@postgresql.org Subject: Re: deadlock_timeout parameter in Postgresql.cof Message-Id: <20070823145208.968faeb9.wmoran@collaborativefusion.com> In-Reply-To: References: Organization: Collaborative Fusion X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/272 X-Sequence-Number: 26402 In response to "Sachchida Ojha" : > I am having some dead locking problem with my app system. Our dev are > debugging the app to find out the cause of the problem. In the mean time > I looked at postgresql.conf file. I found that there is a parameter in > postgresql.conf file deadlock_timeout which was set 1000 (ms). Normally > I see deadlock in the night or when auto vacuum is running for a long > time. > > My question is > > What is the significance of this parameter and updating this parameter > value will make any difference ? Does the documentation leave anything unanswered? http://www.postgresql.org/docs/8.2/static/runtime-config-locks.html -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmoran@collaborativefusion.com Phone: 412-422-3463x4023