Re: hung postmaster? - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: hung postmaster?
Date
Msg-id 20050216223828.GE6487@svana.org
Whole thread Raw
In response to Re: hung postmaster?  ("Ed L." <pgsql@bluepolka.net>)
Responses Re: hung postmaster?
List pgsql-general
On Wed, Feb 16, 2005 at 11:41:35AM -0700, Ed L. wrote:
> Question:  Am I doing all I can to avoid corruption with the
> following procedure to shutdown a 7.4.6 cluster with a hung
> postmaster?  Suggestions?

What is the state of the processes in ps? D, S, R, ?? That should at
least give a hint as to what it *is* doing...

> 1.  SIGTERM non-postmaster processes
> 2.  SIGINT non-postmasters
> 3.  SIGQUIT non-postmaster
> 4.  SIGTERM postmaster
> 5.  SIGINT postmaster
> 6.  SIGQUIT postmaster
> 7.  SIGKILL postmaster

The options you can give to pg_ctl should cover all the
possibilities... There's also a page in the docs as to what each
process does with each signal...

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: "Ian Harding"
Date:
Subject: Re: Schema comparison tool
Next
From: Rich Shepard
Date:
Subject: Re: Schema comparison tool