Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAxlC-00033U-8l for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 14:18:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hAxlA-0000am-Id for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 14:18:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAxl8-0000Vp-Jx for pgsql-general@lists.postgresql.org; Mon, 01 Apr 2019 14:18:00 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAxl1-0004rg-ME for pgsql-general@postgresql.org; Mon, 01 Apr 2019 14:17:57 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id ABCD721AEE; Mon, 1 Apr 2019 10:17:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 01 Apr 2019 10:17:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=D e/DdUjiYinTJMsCAstsSzujg1ZiLK4fhBgEgKx038Q=; b=M09NZ4Kekru59RRWe VH34/fgTpXufZxBHIsfbVKdr4IH1kJyXfbURxA9pVL1Lbq81J4rZgvYKkUSsOfum uwvsWawGay4dDwZCsNGTo52VE9HtScXkpsDwxe9tiFJVXyehQfMEtEpy639BgOla Mm3B6EscIcYTuOruVGM+yUNB0ZG/gi+VPTuVVjWv0sBWZGIWqVqV/HDiYqr4ElnZ tvTNOIh5ahAUa0QvcHijbIo7jDaS7an7+55C2otuoVR7Ks1Qo+UqF0LtPLYEeSiM mR+LbZ47bzs8SgcNwx14iO1uKPYjf62Kq/q9sS+W5CSH77P6OBgrdEdCZx/gX78f 2sbsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=De/DdUjiYinTJMsCAstsSzujg1ZiLK4fhBgEgKx03 8Q=; b=HG2jdSTgFRK4pqO0qp06Cgr5ag7IegNBd+5pOnn4uH1pTjUYlrvDDOmmF MtTLkAJEZqxep/IkWSQGjF+S+BgA1hCvF3ycDEVu9GaXbtOYHTOUGpaSf1nEhtN3 J4vKyjRj634nR0XsZ8dROhZOvhNV1hvAWYBVRrPHT/1rfR9UAiDJ/OGTFa/1PPbK utlhVYXuVKGz1UoOYPfFlZAzYg+AmQQQIdy8DFJ/K7boDUOpltmTyj6l3IH3oNoo JXB9nTis17hMEAlsV2K2Vmd1YS5NBLtIm3h3GBdCLCUsxh4n3ZfSNNMhw2bK3lfr 5GTVivsD3S5pLBrENxE1MpTvDtbJQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrleeggdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 38DF8E442F; Mon, 1 Apr 2019 10:17:49 -0400 (EDT) Subject: Re: Gigantic load average spikes To: rihad , hjp-pgsql@hjp.at Cc: pgsql-general General References: <18b22010-1e6f-9270-e273-b9803fee1498@mail.ru> From: Adrian Klaver Message-ID: <1c9f287c-701c-8c62-dee2-1cc38721ef3d@aklaver.com> Date: Mon, 1 Apr 2019 07:17:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <18b22010-1e6f-9270-e273-b9803fee1498@mail.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/31/19 10:08 PM, rihad wrote: >> 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 (?) So what are the process titles? > schedules all of them to run. This doesn't really put the machine on its > knees, it just impacts load avg. > > > > -- Adrian Klaver adrian.klaver@aklaver.com