From: Adrian Klaver <adrian.klaver@aklaver.com>
To: rihad <rihad@mail.ru>
To: pgsql-general@postgresql.org
Subject: Re: Gigantic load average spikes
Date: Sun, 31 Mar 2019 08:46:25 -0700
Message-ID: <95c8c449-7b09-13db-32a5-2dc93132c86d@aklaver.com> (raw)
In-Reply-To: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru>
References: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru>
On 3/31/19 8:23 AM, rihad wrote:
> 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
Do you know what the processes are?
Are there any messages in the Postgres log from that time period that
might shed light?
> 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.
You are referring to the between spikes process count?
>
>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, rihad@mail.ru
Subject: Re: Gigantic load average spikes
In-Reply-To: <95c8c449-7b09-13db-32a5-2dc93132c86d@aklaver.com>
References: <df11c1dd-a0d7-ef7c-1ff1-1dcb32a87757@mail.ru> <95c8c449-7b09-13db-32a5-2dc93132c86d@aklaver.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