X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2318F4758C9 for ; Tue, 8 Apr 2003 02:05:28 -0400 (EDT) Received: from goatelecom.com (unknown [61.1.72.28]) by postgresql.org (Postfix) with ESMTP id F390F474E42 for ; Tue, 8 Apr 2003 02:05:22 -0400 (EDT) Received: from email.philnet (dialup-70-28.goatelecom.com [61.1.70.28]) by goatelecom.com (8.11.0/8.11.0) with ESMTP id h386KED25977 for ; Tue, 8 Apr 2003 11:50:15 +0530 (IST) Received: from phil.com.sg (IDENT:FrEvKjoPZgdkHq/Ad/0VqxB3mw5sjOvu@email.philnet [172.16.1.5]) by email.philnet (8.11.6/8.11.2) with ESMTP id h3863wv22089 for ; Tue, 8 Apr 2003 11:34:01 +0530 Message-ID: <3E92664D.313C3DFE@phil.com.sg> Date: Tue, 08 Apr 2003 11:33:58 +0530 From: SHOBHA HALDONKAR Reply-To: shobha@phildigital.com X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: deadlock detection Content-Type: multipart/alternative; boundary="------------94F58B34003FAA992BD99F95" X-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_10,HTML_10_20,RCVD_IN_RFCI version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/109 X-Sequence-Number: 8264 --------------94F58B34003FAA992BD99F95 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit HI , We are currenlty using postgresql 7.2.1 database. But it does not seem to detect deadlocks . Suppose if a record is locked with update command and another concurrent user tries to lock the same record and the first transaction for some reason , eg. m/c hangings is not committed both the transactions remains locked for indefinite period . I have checked the setting in postgresql.config for deadlock_timeout which is set to 1000 . Than why doesn't the transaction deatect deadlock after 1000 millisecond . Secondly if the frontend process is killed but due to some reason the backend postgres process remains , than how can it be terminated .For if i try to use kill command all the postgres processes gets terminated . Please help -- Regards, Shobha --------------94F58B34003FAA992BD99F95 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  
HI ,

      We are currenlty using postgresql 7.2.1  database. But it does not seem to detect deadlocks .
       Suppose if a record is locked with update  command   and another concurrent user  tries to lock the same record and the first transaction for some reason , eg. m/c hangings   is not committed  both the transactions remains locked for indefinite period . I have checked the setting in postgresql.config  for deadlock_timeout  which is set to 1000 . Than why doesn't  the transaction deatect deadlock after 1000 millisecond  .
 Secondly if the frontend process  is killed but due to some reason the backend postgres process remains , than how can it be terminated .For
 if i try to use kill command all the postgres processes  gets terminated .
Please help

-- 
Regards,
Shobha
  --------------94F58B34003FAA992BD99F95--