Re: Getting FATAL: terminating connection due to administrator command - Mailing list pgsql-general

From Adrien Kunysz
Subject Re: Getting FATAL: terminating connection due to administrator command
Date
Msg-id 4C9721E2.40207@redhat.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Vick Khera
Date:
Subject: Re: unexpected EOF on client connection
Next
From: Willy-Bas Loos
Date:
Subject: Re: where does postgres keep the query result until it is returned?