pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lee Kwok Shing <kslee@graduate.hku.hk>
To: pgsql-admin@postgresql.org
Subject: System hangs when Insert/Update
Date: Sat, 02 Jun 2001 11:48:32 +0800
Message-ID: <3B186210.CBEB2494@graduate.hku.hk> (raw)

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 (***)
http://www.geocities.com/lkslee.geo

Attachments:

kslee.vcf (text/x-vcard, 177B) download begin:vcard n:Lee;Kwok Shing x-mozilla-html:TRUE url:http://www.geocities.com/lkslee.geo adr:;;;;;; version:2.1 email;internet:kslee@graduate.hku.hk fn:Kwok Shing Lee end:vcard

view thread (4+ messages)  latest in thread

Message-ID: <3B186210.CBEB2494@graduate.hku.hk>
Permalink:  ../3B186210.CBEB2494@graduate.hku.hk/
Also on:    postgresql.org/message-id/3B186210.CBEB2494@graduate.hku.hk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kslee@graduate.hku.hk
  Subject: Re: System hangs when Insert/Update
  In-Reply-To: <3B186210.CBEB2494@graduate.hku.hk>
  References: <3B186210.CBEB2494@graduate.hku.hk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox