pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Nix <robert@urban4m.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8578: loading a 33G (compressed) pg_dump into a fresh host and db instance crashes a postgresql process
Date: Tue, 05 Nov 2013 21:20:24 -0500
Message-ID: <8165.1383704424@sss.pgh.pa.us> (raw)
In-Reply-To: <CAC2EkfPQ3PE4Zgo3Y9zD0cjaKVyCxcmZeLOZ6qy30kPhaep5dQ@mail.gmail.com>
References: <E1VdraR-0003NM-KI@wrigleys.postgresql.org>
	<5526.1383700304@sss.pgh.pa.us>
	<CAC2EkfPQ3PE4Zgo3Y9zD0cjaKVyCxcmZeLOZ6qy30kPhaep5dQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Robert Nix <robert@urban4m.com> writes:
> Thanks for the quick response, Tom. Sure enough. I found the OOM message in
> syslog. And thanks for the link. I'll try those suggestions. Just out of
> curiosity, will using psql -f alter the behavior, in this case, with
> respect to memory?

No, since the memory consumption was happening on the server side.

It is somewhat of interest why you're apparently getting a memory leak on
the server side, though.  Maybe you were using an unsafely large work_mem
or maintenance_work_mem setting?  I've also seen some reports lately
suggesting that PostGIS might cause intra-query memory leaks, which might
explain this if data_partitions.zone_municipality_demog_houston contains
any PostGIS data types.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)  latest in thread

Message-ID: <8165.1383704424@sss.pgh.pa.us>
Permalink:  ../8165.1383704424@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8165.1383704424@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, robert@urban4m.com
  Subject: Re: BUG #8578: loading a 33G (compressed) pg_dump into a fresh host and db instance crashes a postgresql process
  In-Reply-To: <8165.1383704424@sss.pgh.pa.us>
  References: <E1VdraR-0003NM-KI@wrigleys.postgresql.org> <5526.1383700304@sss.pgh.pa.us> <CAC2EkfPQ3PE4Zgo3Y9zD0cjaKVyCxcmZeLOZ6qy30kPhaep5dQ@mail.gmail.com> <8165.1383704424@sss.pgh.pa.us>

* 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