X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D87FD474E5C for ; Wed, 12 Feb 2003 13:29:18 -0500 (EST) Received: from office.nextbus.com (ns.nextbus.com [64.164.28.194]) by postgresql.org (Postfix) with ESMTP id 5F1F9474E44 for ; Wed, 12 Feb 2003 13:29:18 -0500 (EST) Received: from visor.corp.nextbus.com (visor.corp.nextbus.com [192.168.1.109]) by office.nextbus.com (Postfix) with ESMTP id 22D114F879; Wed, 12 Feb 2003 10:29:18 -0800 (PST) Received: from localhost (laurette@localhost) by visor.corp.nextbus.com (8.11.2/8.8.7) with ESMTP id h1CITHm32590; Wed, 12 Feb 2003 10:29:17 -0800 X-Authentication-Warning: visor.corp.nextbus.com: laurette owned process doing -bs Date: Wed, 12 Feb 2003 10:29:17 -0800 (PST) From: Laurette Cisneros X-X-Sender: laurette@visor.corp.nextbus.com To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: server won't shutdown In-Reply-To: <1928.1045037047@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/159 X-Sequence-Number: 7357 Sure. I will attempt this on our development server which only occasionally has this problem. If that won't reproduce it, I will attempt this on our production server but that must be scheduled at a slow time - maybe Monday. I'll send this info. once I've collected it. Thanks for the help, L. On Wed, 12 Feb 2003, Tom Lane wrote: > 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 > -- Laurette Cisneros, L.D. The Database Group (510) 420-3137 NextBus Information Systems, Inc. www.nextbus.com ---------------------------------- "No man is wise enough by himself" -- Titus Maccius Plautus (254 Bc - 184 BC), Miles Gloriosus