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: Hang when doing insert/update
Date: Sat, 02 Jun 2001 10:33:36 +0800
Message-ID: <3B185080.F5836BF@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



Message-ID: <3B185080.F5836BF@graduate.hku.hk>
Permalink:  ../3B185080.F5836BF@graduate.hku.hk/
Also on:    postgresql.org/message-id/3B185080.F5836BF@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: Hang when doing insert/update
  In-Reply-To: <3B185080.F5836BF@graduate.hku.hk>
  References: <3B185080.F5836BF@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