Re: server won't shutdown

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: server won't shutdown
Date: 2003-02-12 08:04:07
Message-ID: 1928.1045037047@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Laurette Cisneros <laurette(at)nextbus(dot)com> writes:
> When I do a shutdown:
> $pgpath/bin/pg_ctl -D $datadir -m fast stop
> the server will not completely shutdown.

Hm. -m fast tells the postmaster to send SIGTERM to all the existing
backends, and then quit when all the backends have quit. So your
problem is that one or more backend processes isn't exiting in a timely
fashion after receiving SIGTERM. It would be useful to see what these
backends are doing. Can you attach to each one with gdb and get a stack
trace?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ret Martin 2003-02-12 09:45:51 Migrating database from v 7.3 -> 7.2
Previous Message Patrick S. Riedel 2003-02-12 07:29:40 Re: Convert v7.0.2-2c1 DB