Re: [postgresql 9.3.5] autovacuums stuck on non-existent pg_toast tables

From: Erik Jones <ejones(at)engineyard(dot)com>
To: Tong Pham <tpham(at)quantcast(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [postgresql 9.3.5] autovacuums stuck on non-existent pg_toast tables
Date: 2015-02-25 22:13:26
Message-ID: EDACED46-CD7F-4B2A-BAE6-F425F0D3147D@engineyard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On Feb 25, 2015, at 3:27 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
>
> Tong Pham wrote:
>
>> We do have fsync turned on, and there was no disk failure. The database
>> had to be shut down forcefully because it was becoming nonresponsive
>> (probably due to inadequate earlier vacuuming) and we could not get the
>> remaining queries to terminate with normal cancel/terminate operations (so
>> a SIGKILL was used ‹ which was bad.)

FWIW, when the server isn’t responding to pg_cancel_backend()/pt_terminate_backend() processes will typically go away if you directly issue a SIGTERM from the system, e.g. `kill <pid>` from bash or whatever.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Emanuel Araújo 2015-02-26 02:14:34 Triggers Operations
Previous Message Alvaro Herrera 2015-02-25 21:27:36 Re: [postgresql 9.3.5] autovacuums stuck on non-existent pg_toast tables