pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rune Froysa <rune.froysa@usit.uio.no>
Cc: pgsql-admin@postgresql.org
Subject: Re: Server-side killing of database connection (7.3.4)
Date: Sun, 15 Feb 2004 00:34:39 -0500
Message-ID: <5631.1076823279@sss.pgh.pa.us> (raw)
In-Reply-To: <svloes3jqd2.fsf@dresden.uio.no>
References: <svloes3jqd2.fsf@dresden.uio.no>

Rune Froysa <rune.froysa@usit.uio.no> writes:
> I need to kill a connected database user.  I'm able to find the pid
> associated with the troublesome user.  However, if I try killing the
> process with any of INT, TERM or QUIT, all connected database users
> get the message:

>    WARNING:  Message from PostgreSQL backend:
>            The Postmaster has informed me that some other backend
>            died abnormally and possibly corrupted shared memory.
>            I have rolled back the current transaction and am
>            going to terminate your database system connection and exit.
>            Please reconnect to the database system and repeat your query.

Better take another look at how you're doing that kill.  It is not
sending the signal number you think it is.

			regards, tom lane



view thread (2+ messages)

Message-ID: <5631.1076823279@sss.pgh.pa.us>
Permalink:  ../5631.1076823279@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5631.1076823279@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rune.froysa@usit.uio.no
  Subject: Re: Server-side killing of database connection (7.3.4)
  In-Reply-To: <5631.1076823279@sss.pgh.pa.us>
  References: <svloes3jqd2.fsf@dresden.uio.no> <5631.1076823279@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox