From: G.Bakalarski@icm.edu.pl
To: Kevin Grittner <kgrittn@ymail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8318: memory leak during CREATE TEMPORARY TABLE
Date: Wed, 31 Jul 2013 10:24:40 +0200 (CEST)
Message-ID: <1e0b28053877c4a86f39784ed69d8514.squirrel@webmail.icm.edu.pl> (raw)
In-Reply-To: <1375220280.46993.YahooMailNeo@web162905.mail.bf1.yahoo.com>
References: <E1V1Fcz-0006Q2-Co@wrigleys.postgresql.org>
<1375220280.46993.YahooMailNeo@web162905.mail.bf1.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
> "g.bakalarski@icm.edu.pl" <g.bakalarski@icm.edu.pl> wrote:
>
>> When doing these kind of statements
>
>> execute <unnamed>: CREATE TEMPORARY TABLE [...]
>
>> After few days [...] my huge server (192GB of RAM), gets stucked
>> due to no memory available (usually %commit is around 103-105%),
>> linux OOM killer goes into action - it usually kills one of
>> postgres processes - postmaster restart all databases) and after
>> all linux has again some 100GB of not commited memory
>
> What do you have as settings for temp_buffers and max_connections?
>
temp_buffers = 16GB
max_connections = 250
(with real number of connections about 120 and not going above)
Grzegorz
--
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: G.Bakalarski@icm.edu.pl, kgrittn@ymail.com
Subject: Re: BUG #8318: memory leak during CREATE TEMPORARY TABLE
In-Reply-To: <1e0b28053877c4a86f39784ed69d8514.squirrel@webmail.icm.edu.pl>
References: <E1V1Fcz-0006Q2-Co@wrigleys.postgresql.org> <1375220280.46993.YahooMailNeo@web162905.mail.bf1.yahoo.com> <1e0b28053877c4a86f39784ed69d8514.squirrel@webmail.icm.edu.pl>
* 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