pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andres Freund <andres@2ndquadrant.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Дмитрий Дегтярёв <degtyaryov@gmail.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: Cpu usage 100% on slave. s_lock problem.
Date: Tue, 17 Sep 2013 15:43:48 +0200
Message-ID: <20130917134348.GG5452@awork2.anarazel.de> (raw )
In-Reply-To: <CAHyXU0xzu3c9vNc82bt-UUvYiUZVmZCEonFLidjWZuYkZZRtHA@mail.gmail.com >
References: <CAHyXU0z3BbK=-Qu342Nxr9EbLtASKWq7XH+9tyaq17MQd+YP0w@mail.gmail.com >
<20130827155556.GA9061@awork2.anarazel.de >
<CAHyXU0yLWU4O=0n6qm5tDTDxBdNwzjhUfA456cYggWY6zUXDMg@mail.gmail.com >
<CAFcrtwHU_iEfhoz-atgNXwVsw=3F4k8x5hfsrAxtB=ftOnWYBw@mail.gmail.com >
<20130917115926.GA5452@awork2.anarazel.de >
<CAHyXU0weAh-qZQ_CCCNoded9wd9WrzVdmnyto_JN+kESjN-1Jw@mail.gmail.com >
<20130917132439.GD5452@awork2.anarazel.de >
<CAHyXU0x3G3my-L5Yy=Qrp8XFPc_7MOQEWao47W-opF44O9WP0g@mail.gmail.com >
<20130917133546.GE5452@awork2.anarazel.de >
<CAHyXU0xzu3c9vNc82bt-UUvYiUZVmZCEonFLidjWZuYkZZRtHA@mail.gmail.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 2013-09-17 08:40:23 -0500, Merlin Moncure wrote:
> > If you ever get into the situation I mistakenly referred to again, I'd
> > strongly suggest recompling postgres with -fno-omit-frame-pointer. That
> > makes hierarchical profiles actually useful which can help tremendously
> > with diagnosing issues like this...
>
> We may get an opportunity to do that. I'm curious enough about the
> THP compaction issues that Kevin mentioned to to maybe consider
> cranking buffers again. If I do that, it will be with strict
> instructions to the site operators to catch a profile before taking
> further action.
The THP issues should be very clearly diagnosable because a good part of
the time will be spent in the kernel. Lots of spinlocking there, but the
function names are easily discernible from pg's code.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
view thread (18+ messages) latest in thread
Message-ID: <20130917134348.GG5452@awork2.anarazel.de>
Permalink: ../20130917134348.GG5452@awork2.anarazel.de/
Also on: postgresql.org/message-id/20130917134348.GG5452@awork2.anarazel.de
copy link · copy postgr.es
reply 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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: andres@2ndquadrant.com, mmoncure@gmail.com, degtyaryov@gmail.com
Subject: Re: Cpu usage 100% on slave. s_lock problem.
In-Reply-To: <20130917134348.GG5452@awork2.anarazel.de>
* 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