From: rihad <rihad@mail.ru>
To: pgsql-general@postgresql.org
Subject: Gigantic load average spikes
Date: Sun, 31 Mar 2019 19:23:11 +0400
Message-ID: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru> (raw)
Postgres 10.3 On freebsd 10.3 is almost idle, disk i/o about 5-10%,
number running processes about 1-3, cpu about 90% idle, then we run a
i/o heavy job like "refresh materialized view", cpu & disk i/o still not
maxed out, all of a sudden the number of running processes increases to
about 250-300 for a second, which increases load averages that we
periodically poll to see if everything's alright. Why is that? Disk i/o
is far from being maxed out, the actual number of running processes is
really small.
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: rihad@mail.ru
Subject: Re: Gigantic load average spikes
In-Reply-To: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru>
References: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru>
* 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