Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xyjyz-0008Oz-7S for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 16:19:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xyjyy-0002Nv-MF for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Dec 2014 16:19:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xyjyx-0002LN-79 for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 16:19:19 +0000 Received: from nm6-vm2.bullet.mail.ne1.yahoo.com ([98.138.90.154]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xyjyt-0004J5-Tw for pgsql-bugs@postgresql.org; Wed, 10 Dec 2014 16:19:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1418228354; bh=+g5m3Kf8MOVswSyn6Xpr3tXNBdQBtn2e9T9MUWz8NE8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=B4TswOnRC05XrrUSeoAwg0GlEL1dutxj9PakAC7U3L5CWMTwKzCWMNKKhsNUKgOwcpj0w2NsXZDJiLxo9AoiIjfcU4mySQai8hJ9oaH5ULdKw0G0x4bUO9MnpblhMZFncCKn3B4GI0xN8BE/VC8sB1RI2NSYVE+APVo0B2OEusG885yLjScH0hTRWY2YVQJ47lDrRonDVjbfm9B1Lt9M50dmloI/sNYiThjWyj+RxKdhdA9l3wAtUSLcxpCgw+qjoJ01CAM32c2bfkWzsw9KfN1XVP/SLRENZxTGdNFiCVew62YmyeZDdphH0RjG4dX0iMh8wk9QqGs3IscDV7UM6g== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=ymail.com; b=gK8rGzg1uinmP5tYBLiTlxfeMlTlddV8Np4uAy3YqZ9a8kgsbpchQkhmPE1CSUQc6yDjmVODDAvDXsZquTxq4CLSXIIMW84mi5pMfcN1u82xWLMue9HBZWzv+8h+6jZ6unu831PmbE2oDHgVM/1pqdeWIRUlTCNJft9a6tfuMZOTIeItqEEGuMKXJoo1dhHiZmaz015Tnvo7GT4s0o4oTldJBYC5jbbehNl6rRg2JZiDwWLWrlo/rmK5GYD2sAXGTcw1SaVfQ6/1rLbXNqeyXXMy5iZOX+P9rpraJy8P26ftSCIj6qI/BzjYO1SMXEzvoXBm3J6k5i3hT1B/lnlK6A==; Received: from [98.138.101.128] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 10 Dec 2014 16:19:14 -0000 Received: from [98.138.88.237] by tm16.bullet.mail.ne1.yahoo.com with NNFMP; 10 Dec 2014 16:19:14 -0000 Received: from [127.0.0.1] by omp1037.mail.ne1.yahoo.com with NNFMP; 10 Dec 2014 16:19:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 480723.1961.bm@omp1037.mail.ne1.yahoo.com X-YMail-OSG: 6b9Ma4EVM1m5vq0iQHDLMyC9o6IecDY8Mtqcz41k53JAELM4RdJ7uH8vsEbDKRI 84BzzanwKaj73hU2IQjnm1Ovw1EqCDUs2_XC.NhCmf363TnT_ruL.e2tBakQP24GW9CqFHPSdhUU 2QnO_DS6.S3RnzbRvBKYCKGbOcH_leuBQnXS1PcPc5S1j6vLqUYSWut1BdyqARKNwRsEjxL.hzhm DhdQ1GRgj1RQWj7eBHyibTUHCLH2xO_Rt9AAl2VvWURHqHsHUQHsORLH3nUa1tLNRGqo5CNtXIRx eQ0jaSEWGBJjxnwi1xFbNaaC0HYnCedm7j3wqLHkkIlR22fIwhwigkANMIf4uRZYblBF0HGj5XWt sCYNMMpgLXg3OjraKq2uo7EDitaOTQzkHLmq5J0zBUGdqX2H0_3yWHregxOxXct4zhB_7unwBQqv BWMecYF6SWwscisdnNNECW2_8mvIA6xU7fF3G7RU.flJ301fpXKVaBAfRxIGccJZEh3MYXAg.1OT uObEjGPHtn7OiDV6RdITG.nM7SSgvkXglO8r2gOHdbfvdryLNREE_sRsh_aTh7Q-- Received: by 98.138.105.251; Wed, 10 Dec 2014 16:19:13 +0000 Date: Wed, 10 Dec 2014 16:19:12 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Valentine Gogichashvili , Tom Lane Cc: PostgreSQL Bugs Message-ID: <1497380283.4859013.1418228352955.JavaMail.yahoo@jws100205.mail.ne1.yahoo.com> In-Reply-To: References: Subject: Re: BUG #12183: Memory leak in long running sessions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 962 X-Pg-Spam-Score: -2.0 (--) 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 Valentine Gogichashvili wrote: > Can we collect some more information that would give more hints > on what is going on there? As Tom already said, a reproducible test case (i.e., a script which a developer can run starting from an empty database) which demonstrates the problem would be ideal. If you can't produce that, install smem (if it's not already installed) and run this at intervals (beginning, middle, and end would probably suffice): smem -trs uss The other thing that would give valuable information would be to set overcommit_memory to 2 and overcommit_ratio to something like 80. If there is a memory leak in PostgreSQL, it will probably dump a memory map when an allocation attempt fails. It would also be great if you could enable core dumps for postgres and get a backtrace from the point of failure in this configuration. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs