Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPW8c-0007Hw-KY for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jun 2017 15:41:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dPW8c-0001RQ-7B for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jun 2017 15:41:18 +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 1dPW7s-0007OL-KB for pgsql-bugs@postgresql.org; Mon, 26 Jun 2017 15:40:32 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dPW7p-0000Hl-Fe for pgsql-bugs@postgresql.org; Mon, 26 Jun 2017 15:40:32 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BEFD320ADE; Mon, 26 Jun 2017 11:40:27 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 26 Jun 2017 11:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/v+Zu7pSLDkEv7T/U6 qjA62Jgzj+yL4joOg2rs9seGA=; b=WY2WGo7zVo5J0UtE1PPv5igbTKip+7K7lh zhAtGbb8nU3nYO/PXzunHxAimBZilkq0pesZHcZbkoU5Qm9tL1ARTvJ//KFE8A7P kB+H16+6AG5g7LfVos7KrhJoCjftSSZEaobkxeSF27VtTLM2xTbedpD/fBqxqHne +U2Bt9I16YokhgH69A3VDzbg366gR5G949KQKmp25PxfIDIYnNtZtP8gQnupQeRP AuTj0B2PyiLDnKXFW+GT558kE0CM59do3GvjeThgaEHxu1nwi0x1tFfo5KQlRYdI mVNo5NTJLQl93GA1kPkLhQGdMmBxb/0KjOePqVznHZR83wUfCGCA== X-ME-Sender: X-Sasl-enc: EeRJzVENiblSylSDZ6npQNDLwXpK5/zu/8KlzPvNHmSw 1498491627 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F52B2480E; Mon, 26 Jun 2017 11:40:27 -0400 (EDT) Date: Mon, 26 Jun 2017 08:40:26 -0700 From: Andres Freund To: Josef Machytka Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14714: long running sessions from remote instance seems to hang some times Message-ID: <20170626154026.mg5tftlnzh2bh7az@alap3.anarazel.de> References: <20170619144907.1544.19175@wrigleys.postgresql.org> <20170623165751.7x6qbhbfmtt4fyp6@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, (please don't top-quote on this list) On 2017-06-26 12:27:04 +0200, Josef Machytka wrote: > Debian 8: > Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) > x86_64 GNU/Linux You should chekc the following parameters: cat /proc/sys/vm/zone_reclaim_mode cat /sys/kernel/mm/transparent_hugepage/enabled and disable them: echo 0 > /proc/sys/vm/zone_reclaim_mode echo never > /sys/kernel/mm/transparent_hugepage/enabled - Andres Greetings, Andres Freund -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs