Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e252y-0007PT-MC for pgsql-general@arkaria.postgresql.org; Wed, 11 Oct 2017 00:38:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e252y-0002Cu-8v for pgsql-general@arkaria.postgresql.org; Wed, 11 Oct 2017 00:38:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e252x-0002Cl-OO for pgsql-general@postgresql.org; Wed, 11 Oct 2017 00:38:51 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e252u-0002NZ-Gl for pgsql-general@postgresql.org; Wed, 11 Oct 2017 00:38:50 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 595498CCDEC4 for ; Tue, 10 Oct 2017 17:38:47 -0700 (MST) Date: Tue, 10 Oct 2017 17:38:47 -0700 (MST) From: pinker To: pgsql-general@postgresql.org Message-ID: <1507682327320-0.post@n3.nabble.com> In-Reply-To: <20171011001806.n7biw2lps2iq3yt7@alap3.anarazel.de> References: <1507668007464-0.post@n3.nabble.com> <20171011001806.n7biw2lps2iq3yt7@alap3.anarazel.de> Subject: Re: core system is getting unresponsive because over 300 cpu load MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Andres Freund wrote > Others mentioned already that that's worth improving. Yes, we are just setting up pgbouncer Andres Freund wrote > Some versions of this kernel have had serious problems with transparent > hugepages. I'd try turning that off. I think it defaults to off even in > that version, but also make sure zone_reclaim_mode is disabled. Yes, I'm aware of that so always set it to never. but thank you for the zone_reclaim_mode. Andres Freund wrote > 9.6 has quite some scalability improvements over 9.5. I don't know > whether it's feasible for you to update, but if so, It's worth trying. > > How about taking perf profile to investigate? Both are on my to do list :) Andres Freund wrote > I'd suggest monitoring /proc/meminfo for the amount of Dirty and > Writeback memory, and see whether rapid changes therein coincide with > periodds of slowdown. yes, I was monitoring it the whole day and that's the reason why I've changed dirty_background_ratio but both of them were flat - without any bigger spikes. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general