X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9C312474E5C for ; Wed, 12 Feb 2003 03:04:10 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id B96AC474E44 for ; Wed, 12 Feb 2003 03:04:09 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1C8475u001929; Wed, 12 Feb 2003 03:04:07 -0500 (EST) To: Laurette Cisneros Cc: pgsql-admin@postgresql.org Subject: Re: server won't shutdown In-reply-to: References: Comments: In-reply-to Laurette Cisneros message dated "Tue, 11 Feb 2003 12:58:02 -0800" Date: Wed, 12 Feb 2003 03:04:07 -0500 Message-ID: <1928.1045037047@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/155 X-Sequence-Number: 7353 Laurette Cisneros 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