Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e25tM-0001Ll-Dy for pgsql-general@arkaria.postgresql.org; Wed, 11 Oct 2017 01:33:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e25tL-0008Q4-7L for pgsql-general@arkaria.postgresql.org; Wed, 11 Oct 2017 01:32:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e25qt-00044j-3O for pgsql-general@postgresql.org; Wed, 11 Oct 2017 01:30:27 +0000 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e25qh-0002Vo-IA for pgsql-general@postgresql.org; Wed, 11 Oct 2017 01:30:24 +0000 Received: by mail-io0-x231.google.com with SMTP id j17so635735iod.5 for ; Tue, 10 Oct 2017 18:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Mn7MwtNxyWRa+Y+87cX1l6W5M9ve7cBZQvhQjNicRkg=; b=VDKRdRIYAfIBfNOwQ73Y80ZV8FUqLbMKybGZzhsx7mZIG3NhoDzvm8JXHper63mIRK UVuWZEClJDjKT0sqIYeEsHRF3RtK3V2OEVcOSlzrP5bWg5dVyj4stgAun/P6lON2509f OP5dEP1gnqLkbDM2veFlcViIjlSJbdpBQie45j7uq1KPLebvmNwk149e0D58BbgxFuVX qFrp252d6SOs8wZa2gbmTJ+JHWZ1HqEcyaph01NZgA/J1VH1WaoqxNwm4G60kzIPHrUa ni9Qf/tFkKiRDhAZYklbh8y1868yGE25jBwhin6JQpYc362EwkDj4df3CDBqDAf23hYY gRKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Mn7MwtNxyWRa+Y+87cX1l6W5M9ve7cBZQvhQjNicRkg=; b=rwHqHS0RlBeiyPGXN330QirE+m/rILm9AxsrvhBQI36yU2i8/q//pp9mhPqMx7ewM5 EBDP3PxzLbF1+5k0hojgcRQKZDwYbYF2gPyDs5EfGpOCrBKV02tF05Gwxsxhr2W6LhH6 SIrxlYCyfeK06J3ql5v7h4/NUZqfT5H8sSMd+WCUtYT/04a+JIwrhiA21k90hSo/W/du 0Ad4XeM/AC+Jyg6t7qXjmzXlPFIh8mwvzmsfHyKwqF1lRYA/uZrDVpj7iwhm5gof5WbE 61oFa1VPclfxAkAwtRySQNoeLcLw7xaqAP8L02UMb0imKOxQpWYCu7YtumLZz+9QLMkZ QLFA== X-Gm-Message-State: AMCzsaWhWpsuWqI1uPI8+lMADMUG9A8t430WA9AAEcO2aptLMQUFGF4z RUmZXksTZEsJafMnG690snfzKw== X-Google-Smtp-Source: AOwi7QCaSEYjCXQucX/gMTcS/0lsn6hkh4u+SUmn6Rdmxp89NpCI97W5usOLoVxMEoUoV6WU1tf7/A== X-Received: by 10.107.174.94 with SMTP id x91mr16672166ioe.224.1507685413699; Tue, 10 Oct 2017 18:30:13 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id e141sm5971347ite.0.2017.10.10.18.30.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Oct 2017 18:30:13 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 655B280105E; Tue, 10 Oct 2017 20:30:12 -0500 (CDT) Date: Tue, 10 Oct 2017 20:30:12 -0500 From: Justin Pryzby To: pgsql-general@postgresql.org Cc: pinker Subject: Re: core system is getting unresponsive because over 300 cpu load Message-ID: <20171011013012.GA32739@telsasoft.com> References: <1507668007464-0.post@n3.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507668007464-0.post@n3.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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