pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vic@nix.kh.ua
To: pgsql-bugs@postgresql.org
Subject: BUG #6392: leak memory while restore/load dump
Date: Wed, 11 Jan 2012 00:24:35 +0000
Message-ID: <E1RklzX-0006mm-Ac@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      6392
Logged by:          Vic
Email address:      vic@nix.kh.ua
PostgreSQL version: 9.0.6
Operating system:   FreeBSD/Linux
Description:        

While trying load database dump, postgresql (server process) eat up all
memory, including swap.

This problem start after update on 9.0.6 and same problem with 9.1.2.

PostgreSQL version 9.0.5 load same dump  without problem.


In syslog on FreeBSD:
Jan 11 01:27:48 saturn kernel: swap_pager: out of swap space
Jan 11 01:27:49 saturn kernel: swap_pager_getswapspace(16): failed
Jan 11 01:27:49 saturn kernel: pid 2020 (postgres), uid 70, was killed: out
of swap space
Jan 11 01:27:49 saturn kernel: swap_pager: out of swap space
Jan 11 01:27:49 saturn kernel: swap_pager_getswapspace(16): failed
Jan 11 01:27:50 saturn postgres[2012]: [10-1] WARNING:  terminating
connection because of crash of another server process
Jan 11 01:27:50 saturn postgres[2012]: [10-2] DETAIL:  The postmaster has
commanded this server process to roll back the current transaction and exit,
because another server process exited abnormally and possibly corrupted
shared memory.
Jan 11 01:27:50 saturn postgres[2012]: [10-3] HINT:  In a moment you should
be able to reconnect to the database and repeat your command.
Jan 11 01:27:50 saturn postgres[2036]: [10-1] WARNING:  terminating
connection because of crash of another server process
Jan 11 01:27:50 saturn postgres[2036]: [10-2] DETAIL:  The postmaster has
commanded this server process to roll back the current transaction and exit,
because another server process exited abnormally and possibly corrupted
shared memory.
Jan 11 01:27:50 saturn postgres[2036]: [10-3] HINT:  In a moment you should
be able to reconnect to the database and repeat your command.

Notes: dump size in plain format about 650Mb, in c format about 125Mb; 
database has plpython and postgis.








view thread (3+ messages)  latest in thread

Message-ID: <E1RklzX-0006mm-Ac@wrigleys.postgresql.org>
Permalink:  ../E1RklzX-0006mm-Ac@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1RklzX-0006mm-Ac@wrigleys.postgresql.org

 · 

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: vic@nix.kh.ua
  Subject: Re: BUG #6392: leak memory while restore/load dump
  In-Reply-To: <E1RklzX-0006mm-Ac@wrigleys.postgresql.org>
  References: <E1RklzX-0006mm-Ac@wrigleys.postgresql.org>

* 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