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

Re: problem (bug?) when killing client program

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marcus Andree S(dot) Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: problem (bug?) when killing client program
Date: 2004-03-27 17:00:57
Message-ID: 6642.1080406857@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Marcus Andree S. Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br> writes:
> Realizing that the things weren't quite right, sent a SIGTERM (kill with
> no flags) to the PID 22332.
> What happened? The entire backend crashed and burned in enormous flames.

SIGTERM should have been fine.  Are you certain you didn't do kill -9 ?

I tried the same thing here, and the backend shut down just fine, with
only this entry in the postmaster log:
	FATAL:  terminating connection due to administrator command
So I think you didn't really do SIGTERM.

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: Marcus Andree S. MagalhaesDate: 2004-03-27 17:12:21
Subject: Re: problem (bug?) when killing client program
Previous:From: Marcus Andree S. MagalhaesDate: 2004-03-27 13:52:40
Subject: problem (bug?) when killing client program

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