Re: New sessions on a database to be dropped consume 100% cpu

From: Feike Steenbergen <feikesteenbergen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: New sessions on a database to be dropped consume 100% cpu
Date: 2018-11-26 09:12:36
Message-ID: CAK_s-G3SP71oabtJ2F_Wt-WEUk6YwNF2W+VRO8KHk57bDwfJ1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> If you could install amcheck and see what it thinks about those indexes,
> that would be interesting.

I created a backup (using pg_basebackup) from this cluster and had a look:

name_to_be_dropped=# select
bt_index_check('pg_catalog.pg_depend_depender_index');
ERROR: cross page item order invariant violated for index
"pg_depend_depender_index"
DETAIL: Last item on page tid=(255,138) page lsn=33A5/F47BC3B0.

> Of course, if you're just wishing you could get rid of the database,
> you could forcibly kill those processes and move on.

Unfortunately other databases are still serving a useful purpose on the
same cluster
and it seems my only recourse would be restart the whole cluster, as I
currently can't
kill them using SIGTERM.

Thanks,

Feike

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2018-11-26 14:02:12 Re: BUG #15520: PAM authentication + domain socket -> DNS query for symbolic hostname [local]
Previous Message Thomas Munro 2018-11-25 22:30:06 Re: BUG #15520: PAM authentication + domain socket -> DNS query for symbolic hostname [local]