Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcf5V-0005Mz-GQ for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Nov 2020 01:38:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcf5T-0007kd-AU for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Nov 2020 01:38:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcf5T-0007kW-4I for pgsql-bugs@lists.postgresql.org; Wed, 11 Nov 2020 01:38:15 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcf5Q-0005df-27 for pgsql-bugs@lists.postgresql.org; Wed, 11 Nov 2020 01:38:14 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4C4F65C02B1; Tue, 10 Nov 2020 20:38:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 10 Nov 2020 20:38:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=97haHClI/WOfY4xdRzIJzHo84Rh 7Ds7JEneRaK81PgM=; b=eChMbiHKoqdg4WPiRB45aduybKtIv7pPjO7d9eDJvQs QOWTJBQXGCd0O1lbA7R7wdrGlzYJ0AZWt4uPh7QZ0lLv42Mks88sBPQyiYOrw6vZ Pk0OU7ewn1h7Tv+YXDZjE91qg8YZgHNyB9k/2GAGk6KZfjRb+PT7VyvvMQR1WCCO E2fiEytNpFh5gdfdaq7Dl38LPY4ksgtECSBDfJO7RviLJ5CHZoA2uWSCAahI+QYG 2lqaqWZREmurdASQuWhARuGtv4XAlxXYivSDCQP/SCFhld6IOBPtDY4DzOsZ3Gay m/+eSLmj86sZamhyHIINYYDNPWyXq7lbPLRUkCsT3mg== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=97haHC lI/WOfY4xdRzIJzHo84Rh7Ds7JEneRaK81PgM=; b=qtYm098PgpnQQkslLJUiQ4 Eqm+/ZDc/V1aSC9QdRLrNFq4FTIjiGT0A1SZA+zVLbmu69PvMqYfYkJvnLA0JGuB l0fV+XoOwvFaFt7maW1mP0wJA684V9aLZB5+5vCNhV/MmltT8qzLScIgiOcu5bcA LONu3cG8sPh61GbWY9MmWG96B54oJZW60l/6WR3Ys/vb+zYVw6fsChblmv/XVh9s tz3V/JriukN0EaK5C7e+ZMvjf13ff71xOWYWKpz6iJBOoYXycBlBh+W64hKaKbhQ 8bZ++BnZPpYXIdlv36TrN2f97uTuIL/kBpwPBcKTJLHq8paUu5wPV5IU+I5dnqjw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduledgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucfkphepieejrdduiedtrddvudejrddvhedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 072013280060; Tue, 10 Nov 2020 20:38:10 -0500 (EST) Date: Tue, 10 Nov 2020 17:38:08 -0800 From: Andres Freund To: Kurt Roeckx Cc: Tom Lane , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16707: Memory leak Message-ID: <20201111013808.4cev55uxq32bd6dd@alap3.anarazel.de> References: <16707-f5df308978a55bf8@postgresql.org> <1999972.1604957673@sss.pgh.pa.us> <20201109220329.GC391173@roeckx.be> <2002012.1604960437@sss.pgh.pa.us> <20201110043127.sfkyvvjqy7x3er5k@alap3.anarazel.de> <20201110081120.GF391173@roeckx.be> <20201110193517.t5hbqkya67gb23rq@alap3.anarazel.de> <20201110195039.GG391173@roeckx.be> <20201110224516.GA568918@roeckx.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110224516.GA568918@roeckx.be> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2020-11-10 23:45:16 +0100, Kurt Roeckx wrote: > On Tue, Nov 10, 2020 at 08:50:39PM +0100, Kurt Roeckx wrote: > > > There's one known (slow) memory leak in the JIT code / LLVM. Could you > > > check if the issue vanishes if you disable JIT (jit = 0)? > > > > I've just restarted it with jit = 0. > > It's been about 3 hours since the restart, and it looks much > better, it seems to be solved. Hm, darn. Any chance you could check if the leak is present if you turn on jit again, but disable inlining with jit_inline_above_cost=-1? If that still fixes the leak I think I know the issue / have a reproducer already... - Andres