Search Postgresql Archives

Re: *SOLVED* Connections closing due to "terminating connection due to administrator command"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 27 ביולי 2015, at 18:20, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
> 
> Herouth Maoz <herouth@xxxxxxxxxxxxx> writes:
>> So I’m left with the question of what caused the shutdown on July 21st.
> 
> Well, you had
> 
> 2015-07-21 15:37:59 IDT LOG:  received fast shutdown request
> 
> There is exactly one place in the Postgres code that prints that message,
> and it is the postmaster's SIGINT handler.
> 
> 2015-07-21 15:37:59 IDT LOG:  aborting any active transactions
> 
> This is just the postmaster noting that it's about to send SIGTERM signals
> to all its child processes ...
> 
> 2015-07-21 15:37:59 IDT FATAL:  terminating connection due to administrator command
> 
> ... and	here is a child acknowledging receipt of SIGTERM.  This is all
> as-expected once the postmaster's received a shutdown signal.
> 
> So something sent the postmaster a SIGINT, and it's hard to believe that
> the source wasn't external to the database.

OK, that was straight to the point, so I started looking for anything that could have done that in the system logs.

As it turns out, it was human error. That is, the sysadmin ran "apt-get upgrade", not being aware that if one of the packages upgraded was PostgreSQL, it would cause a database restart.

Thanks everybody for your time.
Herouth
-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux