From: Justin Pryzby <pryzby@telsasoft.com>
To: pgsql-general@postgresql.org
Cc: pinker <pinker@onet.eu>
Subject: Re: core system is getting unresponsive because over 300 cpu load
Date: Tue, 10 Oct 2017 20:30:12 -0500
Message-ID: <20171011013012.GA32739@telsasoft.com> (raw)
In-Reply-To: <1507668007464-0.post@n3.nabble.com>
References: <1507668007464-0.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On Tue, Oct 10, 2017 at 01:40:07PM -0700, pinker wrote:
> Hi to all!
>
> We've got problem with a very serious repetitive incident on our core
> system. Namely, cpu load spikes to 300-400 and the whole db becomes
> unresponsive. From db point of view nothing special is happening, memory
> looks fine, disks io's are ok and the only problem is huge cpu load. Kernel
> parameters that are increasing with load are always the same:
> * disabled transparent huge pages (they were set before unfortunately to
> 'always')
Did you also try disabling KSM ?
echo 2 |sudo tee /sys/kernel/mm/ksm/run
I believe for us that was affecting a postgres VM(QEMU/KVM) and maybe not
postgres itself. Worth a try ?
https://www.postgresql.org/message-id/20170718180152.GE17566%40telsasoft.com
Justin
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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-general@postgresql.org
Cc: pryzby@telsasoft.com, pinker@onet.eu
Subject: Re: core system is getting unresponsive because over 300 cpu load
In-Reply-To: <20171011013012.GA32739@telsasoft.com>
References: <1507668007464-0.post@n3.nabble.com> <20171011013012.GA32739@telsasoft.com>
* 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