pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcelo Costa <marcelojscosta@gmail.com>
To: Thomas Markus <t.markus@proventis.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: out of memory in backup and restore
Date: Fri, 15 Dec 2006 09:09:50 -0300
Message-ID: <c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com> (raw)
In-Reply-To: <45828ED6.9020501@proventis.net>
References: <45826AD7.7050005@proventis.net>
	<bf54be870612150319x90ea963hf2b0c3443139ad3e@mail.gmail.com>
	<45828ED6.9020501@proventis.net>

Try see your /tmp directory on your server, this maybe can for an left space
on your system disk.

[],s

Marcelo.

2006/12/15, Thomas Markus <t.markus@proventis.net>:
>
> Hi,
>
> logfile content see http://www.rafb.net/paste/results/cvD7uk33.html
> - cat /proc/sys/kernel/shmmax is 2013265920
> - ulimit is unlimited
> kernel is 2.6.15-1-em64t-p4-smp, pg version is 8.1.0 32bit
> postmaster process usage is 1.8gb ram atm
>
> thx
> Thomas
>
>
> Shoaib Mir schrieb:
> > Can you please show the dbserver logs and syslog at the same time when
> > it goes out of memory...
> >
> > Also how much is available RAM you have and the SHMMAX set?
> >
> > ------------
> > Shoaib Mir
> > EnterpriseDB ( www.enterprisedb.com <http://www.enterprisedb.com;)
> >
> > On 12/15/06, *Thomas Markus* <t.markus@proventis.net
> > <mailto:t.markus@proventis.net>> wrote:
> >
> >     Hi,
> >
> >     i'm running pg 8.1.0 on a debian linux (64bit) box (dual xeon 8gb
> ram)
> >     pg_dump creates an error when exporting a large table with blobs
> >     (largest blob is 180mb)
> >
> >     error is:
> >     pg_dump: ERROR:  out of memory
> >     DETAIL:  Failed on request of size 1073741823.
> >     pg_dump: SQL command to dump the contents of table "downloads"
> failed:
> >     PQendcopy() failed.
> >     pg_dump: Error message from server: ERROR:  out of memory
> >     DETAIL:  Failed on request of size 1073741823.
> >     pg_dump: The command was: COPY public.downloads ...  TO stdout;
> >
> >     if i try pg_dump with -d dump runs with all types (c,t,p), but i
> cant
> >     restore (out of memory error or corrupt tar header at ...)
> >
> >     how can i backup (and restore) such a db?
> >
> >     kr
> >     Thomas
> >
> >     ---------------------------(end of
> >     broadcast)---------------------------
> >     TIP 4: Have you searched our list archives?
> >
> >                    http://archives.postgresql.org
> >
> >
>
> --
> Thomas Markus
>
> Tel:    +49 30 29 36 399 - 22
> Fax:    +49 30 29 36 399 - 50
> Mail:   t.markus@proventis.net
> Web:    www.proventis.net
> Web:    www.blue-ant.de
>
> proventis GmbH
> Zimmerstraße 79-80
> 10117 Berlin
>
> "proventis: Wir bewegen Organisationen."
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>
>
>
>


-- 
Marcelo Costa

view thread (10+ messages)  latest in thread

Message-ID: <c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com>
Permalink:  ../c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com/
Also on:    postgresql.org/message-id/c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com

 · 

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-admin@postgresql.org
  Cc: marcelojscosta@gmail.com, t.markus@proventis.net
  Subject: Re: out of memory in backup and restore
  In-Reply-To: <c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com>
  References: <45826AD7.7050005@proventis.net> <bf54be870612150319x90ea963hf2b0c3443139ad3e@mail.gmail.com> <45828ED6.9020501@proventis.net> <c13f2d590612150409k76950984h5817211c24518f7b@mail.gmail.com>

* 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