Skip site navigation (1) Skip section navigation (2)

Re: Server Crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Server Crash
Date: 2008-04-22 16:32:14
Message-ID: 22753.1208881934@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
> Thanks.  Just wondering, what's the difference in behavior from
> pgsql's perspective from sigquit and siqkill?  Is sigkill more
> dangerous than sigquit?

Yes it is, because sigkill can't be trapped --- it causes instant
process death with no chance to clean up.  Not that we have backends
do a lot of cleanup after sigquit either, but at least the option
exists.  The real difference is in the postmaster: kill -9 on the
postmaster is a seriously bad idea, because it gets no chance to shut
down its children.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: blovely1338Date: 2008-04-23 05:16:39
Subject: Re: postsql on vista
Previous:From: Scott MarloweDate: 2008-04-22 16:21:41
Subject: Re: Server Crash

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group