Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f56C9GE84607 for ; Wed, 6 Jun 2001 08:09:16 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from imsp015.netvigator.com (imsp015.netvigator.com [205.252.144.206]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f522TjE57290 for ; Fri, 1 Jun 2001 22:29:46 -0400 (EDT) (envelope-from kslee@graduate.hku.hk) Received: from graduate.hku.hk (kslee@pcd001203.netvigator.com [208.151.90.203]) by imsp015.netvigator.com (8.9.3/8.9.1) with ESMTP id KAA17172 for ; Sat, 2 Jun 2001 10:29:40 +0800 (HKT) Message-ID: <3B185080.F5836BF@graduate.hku.hk> Date: Sat, 02 Jun 2001 10:33:36 +0800 From: Lee Kwok Shing X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: zh-TW, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Hang when doing insert/update Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/39 X-Sequence-Number: 1577 Hello, I am using PostgreSQL 7.0.2 on RH 6.2 The DB works smoothly in the past 8 months but until recently, the system would hang when doing insert or update statements. When I use ps aux I found a lot of processes like postgres localhost xxx xxx INSERT postgres localhost xxx xxx SELECT postgres localhost xxx xxx idle are running When I killed one process using kill -TERM pid all those processes gone and the DB returns to normal. But after some insert/update, the problem exists again... I tried to use strace on the process and found that they seems waiting for something since the following statements are execution repeatedly select (0, NULL, NULL, ..... Maybe they had been fall in some infinite loop.. Could you give me some help ? Best regards, Lee Kwok Shing