Re: Further info : Very high load average but no cpu utilization ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, Jan Wieck <janwieck(at)yahoo(dot)com>
Subject: Re: Further info : Very high load average but no cpu utilization ?
Date: 2002-05-11 15:59:44
Message-ID: 13062.1021132784@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

"Rajesh Kumar Mallah." <mallah(at)trade-india(dot)com> writes:
> [root(at)linux10320 root2]# ps auxwww| grep post
> postgres 1131 0.0 0.0 139424 4 ? D May1004/usr/local/pgsql/bin/postmaster
> postgres 1132 0.0 0.0 140412 4 ? D May10 0:13 postgres: stats buffer process
> postgres 1133 0.0 0.0 139576 4 ? S May10 0:18 postgres: stats collector process
> postgres 8046 0.0 0.0 238712 4 ? D 00:25 0:13 postgres: tradein tradein_clients 130.94.20.27 SELECT
> postgres 8089 0.0 0.0 139812 4 ? D 00:26 0:00 postgres: checkpoint subprocess
> postgres 11442 0.0 0.0 218152 4 ? D 04:25 0:03 postgres: tradein tradein_clients 130.94.20.27 SELECT
> postgres 15453 0.1 0.0 0 0 ? Z 08:17 0:09 [postmaster <defunct>]
> postgres 15455 0.0 0.0 0 0 ? Z 08:17 0:00 [postmaster <defunct>]
> postgres 15456 0.0 0.0 0 0 ? Z 08:18 0:00 [postmaster <defunct>]
> postgres 15457 0.0 0.0 0 0 ? Z 08:19 0:00 [postmaster <defunct>]
> postgres 15462 0.0 0.0 0 0 ? Z 08:20 0:01 [postmaster <defunct>]

I think your postmaster is stuck; it should have reaped those defunct
subprocesses instantly. Given that you also seem to have a stuck
checkpoint process (8 hours to run a checkpoint?) there is probably
something hosed in the interprocess communication logic, but it's hard
to guess what from this amount of info.

At this point probably your best bet is to kill all the running postgres
processes (try SIGTERM first, then SIGKILL if that doesn't work) and
launch a postmaster from a fresh start. Don't forget the ulimit this
time.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Barwick 2002-05-11 16:01:46 Re: Set Returning Functions (SRF) - request for patch review and comment
Previous Message Nigel J. Andrews 2002-05-11 15:51:52 Re: internal voting

Browse pgsql-sql by date

  From Date Subject
Next Message Rajesh Kumar Mallah. 2002-05-12 05:40:28 Re: core file found...
Previous Message Tom Lane 2002-05-11 15:32:59 Re: pg_stat_get_backend_pid seems to be listing non existant