From: Kevin Grittner <kgrittn@ymail.com>
To: Valentine Gogichashvili <valgog@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12183: Memory leak in long running sessions
Date: Wed, 10 Dec 2014 16:19:12 +0000 (UTC)
Message-ID: <1497380283.4859013.1418228352955.JavaMail.yahoo@jws100205.mail.ne1.yahoo.com> (raw)
In-Reply-To: <CAP93muWt0LG=O3Y5-e3Xg1VT+73hOFJnt6B-b9mGUxxqgLQ8Nw@mail.gmail.com>
References: <CAP93muWt0LG=O3Y5-e3Xg1VT+73hOFJnt6B-b9mGUxxqgLQ8Nw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Valentine Gogichashvili <valgog@gmail.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: kgrittn@ymail.com, valgog@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #12183: Memory leak in long running sessions
In-Reply-To: <1497380283.4859013.1418228352955.JavaMail.yahoo@jws100205.mail.ne1.yahoo.com>
References: <CAP93muWt0LG=O3Y5-e3Xg1VT+73hOFJnt6B-b9mGUxxqgLQ8Nw@mail.gmail.com> <1497380283.4859013.1418228352955.JavaMail.yahoo@jws100205.mail.ne1.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox