pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rihad <rihad@mail.ru>
To: hjp-pgsql@hjp.at
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Gigantic load average spikes
Date: Mon, 1 Apr 2019 09:08:40 +0400
Message-ID: <18b22010-1e6f-9270-e273-b9803fee1498@mail.ru> (raw)

> What exactly do you mean by "running processes"? I don't think I've ever
> seen a Unix with only 1 to 3 running processes in total, so you are
> probably referring to processes in a certain state. Runnable (R)?
> Uninterruptible sleep (D)? Both? Something else?

Just that, 250-300 running processes in top shown for a second. 250-300 
is the number of postgres worker processes used, but normally only 1-3 
of them are running according to top. At times of load FreeBSD (?) 
schedules all of them to run. This doesn't really put the machine on its 
knees, it just impacts load avg.






view thread (11+ messages)  latest in thread

Message-ID: <18b22010-1e6f-9270-e273-b9803fee1498@mail.ru>
Permalink:  ../18b22010-1e6f-9270-e273-b9803fee1498@mail.ru/
Also on:    postgresql.org/message-id/18b22010-1e6f-9270-e273-b9803fee1498@mail.ru

 · 

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 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, hjp-pgsql@hjp.at
  Subject: Re: Gigantic load average spikes
  In-Reply-To: <18b22010-1e6f-9270-e273-b9803fee1498@mail.ru>
  References: <18b22010-1e6f-9270-e273-b9803fee1498@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