Re: server won't shutdown - Mailing list pgsql-admin

From Tom Lane
Subject Re: server won't shutdown
Date
Msg-id 1928.1045037047@sss.pgh.pa.us
Whole thread Raw
In response to server won't shutdown  (Laurette Cisneros <laurette@nextbus.com>)
Responses Re: server won't shutdown  (Laurette Cisneros <laurette@nextbus.com>)
Re: server won't shutdown  (Laurette Cisneros <laurette@nextbus.com>)
List pgsql-admin
Laurette Cisneros <laurette@nextbus.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

pgsql-admin by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Create Perl Support
Next
From: "vivek K."
Date:
Subject: Connection refused