From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Vitaly V. Voronov <wizard_1024@tut.by>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15144: *** glibc detected *** postgres: postgres smsconsole [local] SELECT: double free or corruption (!pre
Date: Mon, 16 Apr 2018 14:03:40 -0300
Message-ID: <20180416170340.alo53a25f5kus54r@alvherre.pgsql> (raw)
In-Reply-To: <CAH2-Wzka85saW4xsu-UVCq_VdZNjfLktdfP+RSHPmnV98x_SYw@mail.gmail.com>
Peter Geoghegan wrote:
> This now seems unnecessary, since it's already evident from your "bt
> full" output that the query involved in the crash was "select count(*)
> from pg_buffercache where isdirty".
Hmm, so is the Zabbix monitoring running that query frequently?
Because, as I recall, pg_buffercache is pretty heavy on the system,
since it needs to acquire all the bufmgr locks simultaneously?
In other words, this seems a terrible query to be running in zabbix. I
have vague memories of somebody submitting a version of this code that
returned approximate answers, good enough for monitoring ...
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@alvh.no-ip.org, pg@bowt.ie, wizard_1024@tut.by
Subject: Re: BUG #15144: *** glibc detected *** postgres: postgres smsconsole [local] SELECT: double free or corruption (!pre
In-Reply-To: <20180416170340.alo53a25f5kus54r@alvherre.pgsql>
References: <CAH2-Wzka85saW4xsu-UVCq_VdZNjfLktdfP+RSHPmnV98x_SYw@mail.gmail.com> <20180416170340.alo53a25f5kus54r@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox