Re: Getting FATAL: terminating connection due to administrator command

From: Adrien Kunysz <adk(at)redhat(dot)com>
To: peter(dot)hopfgartner(at)r3-gis(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Getting FATAL: terminating connection due to administrator command
Date: 2010-09-20 08:57:06
Message-ID: 4C9721E2.40207@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Is there any other way [than SystemTap] I can attack this issue
> [figuring out who sent a SIGTERM]? Attach GDB?

gdb won't tell you who sent the signal.

I don't really see any specific reason why sigmon.stp wouldn't show a SIGTERM if
one was sent.

An alternative could be to use auditd with something like this:
# auditctl -a entry,always -S kill -F a1=15

Regards,
Adrien Kunysz

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2010-09-20 10:10:32 Re: how to insert multiple rows and get the ids back in a temp table (pgplsql)?
Previous Message John R Pierce 2010-09-20 08:37:50 Re: space taken by NULL values in array