Bug #792: pg_dump uses all available RAM and swap

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #792: pg_dump uses all available RAM and swap
Date: 2002-10-01 18:37:51
Message-ID: 20021001183751.291104767FB@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Steve Riley (stepa(at)openskysoftware(dot)com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
pg_dump uses all available RAM and swap

Long Description
We noticed that doing a pg_dump was taking longer and longer to perform when doing data backup. For this and other reasons, we began doing backup by stopping the server and tarring the data directory. Now, we are trying to upgrade to 7.2.1 and we find that we must do a pg_dump of our data to restore properly, but running pg_dump now causes all available resources to be used up with no output until the system locks up.

We run postgresql 7.1 on RedHat Linux 7.3

The total size of the data directory is 38 Mb

Command is: pg_dump buildit > buildit.pgdump

Memory monitor begins to fill up, then swap use begins to fill up, then if not halted by hand, the system locks up.

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-10-01 20:13:10 Re: Bug #792: pg_dump uses all available RAM and swap
Previous Message roco 2002-10-01 18:08:52 Fwd: Fwd: FATAL 1: Database dialup does not exist in pg_database