Re: problem with dead 'drop table' process

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Sengstock <csengstock(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problem with dead 'drop table' process
Date: 2006-01-20 15:48:56
Message-ID: 17591.1137772136@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Christian Sengstock <csengstock(at)gmail(dot)com> writes:
> to save the database on a filesystem basis i stopped the postgres server and
> tried to tar the entire pgdata directory. this process stopped with a
> "segmentation fault" during the tar process.

So there's something wrong beyond just postgres ...

> the server is running, and i can connect with another psql client, but the
> drop table process is still present. ps aux shows
> postgres 5548 0.0 0.8 16420 4548 ? D 07:58 0:00 postgres: postgres
> wlan [local] DROP TABLE
> i cannot kill it with kill -9, and also i'm not sure if i should. maybe the
> database is not running after it at all?

A process stuck in an unkillable disk wait is a pretty common symptom of
low-level problems. There might be a disk hardware issue --- have you
looked into the kernel message log on the machine?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Schulthess 2006-01-20 16:12:18 Returning setof records
Previous Message Alfred Lau - FORMotion Systems 2006-01-20 14:47:12 Re: Transferring DATA directory