Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory

From: "Amit jain" <amitjain(dot)bit(at)gmail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [HACKERS] pg_restore -d cipa /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR pg_restore: [archiver] out of memory
Date: 2008-08-08 06:31:40
Message-ID: daf917830808072331v10e4e945uf964c907aaeac425@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Thanx for info I will take care of it in future.

I have tried with all ulimit settings but still getting the same error. I am
trying to restore this ba ckup at server side on so i tried with
shared_buffer and shmmax,

Why this error occured as the same backup day one before it is restoring
fine but this particular is not getting restored.

Hope for getting any resolution.

Amit
+91-9818450022

On Wed, Aug 6, 2008 at 6:21 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>
>
> Amit jain wrote:
>
>> Dear All,
>>
>> I am having a backup file in tar format. While restoring it through
>> pg_restore instantly i am getting an following error.
>> *Command - pg_restore -d cipa
>> /cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR
>> Error - pg_restore: [archiver] out of memory
>> *I have increased shmmax , maintenace work memory but still i am getting
>> the same error.
>>
>> 2. I have make all log_parameter to debug5 but still getting a single
>> error -line while restoring not getting any log or debug info about it.
>>
>> Kindly help me out from this absurd behaviour of postgreSQL restoration
>> process.
>> Any help would be highly appreciated. Thanx in advance
>>
>>
>>
> Please do not cross-post to multiple lists like this. (Also, adding
> addresses of individual hackers is not good netiquette). The -hackers list
> is quite inappropriate for usage questions.
>
> It looks like the problem you have is that the client is running out of
> memory, so changing the server's memory settings seems unlikely to have any
> beneficial effect. Maybe you need to look at your ulimit settings.
>
> cheers
>
> andrew
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2008-08-08 13:51:20 Re: Problems with connection
Previous Message Курашкин Дмитрий 2008-08-08 06:21:22 Problems with connection

Browse pgsql-hackers by date

  From Date Subject
Next Message Asko Oja 2008-08-08 06:50:40 Re: patch: Add columns via CREATE OR REPLACE VIEW
Previous Message Fujii Masao 2008-08-08 02:47:03 Re: For what should pg_stop_backup wait?