Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 78B4E9FA274 for ; Fri, 15 Dec 2006 08:06:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 99194-04 for ; Fri, 15 Dec 2006 08:06:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from p15105778.pureserver.info (p15105778.pureserver.info [217.160.133.184]) by postgresql.org (Postfix) with ESMTP id 7A8969FA334 for ; Fri, 15 Dec 2006 08:06:38 -0400 (AST) Received: by p15105778.pureserver.info (Postfix, from userid 65534) id 94198440D5; Fri, 15 Dec 2006 13:06:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by server1.proventis.net (Postfix) with ESMTP id 16F67C44096 for ; Fri, 15 Dec 2006 13:02:32 +0100 (CET) Received: from server1.proventis.net ([127.0.0.1]) by localhost (server1.proventis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11622-02 for ; Fri, 15 Dec 2006 13:02:30 +0100 (CET) Received: from [192.168.22.130] (tmarkus.proventis.net [192.168.22.130]) by server1.proventis.net (Postfix) with ESMTP id 96648C44094 for ; Fri, 15 Dec 2006 13:02:30 +0100 (CET) Message-ID: <45828ED6.9020501@proventis.net> Date: Fri, 15 Dec 2006 13:02:30 +0100 From: Thomas Markus Organization: proventis GmbH User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: out of memory in backup and restore References: <45826AD7.7050005@proventis.net> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020202040803040007070908" X-Virus-Scanned: by amavisd-new at proventis.net X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/210 X-Sequence-Number: 24002 This is a multi-part message in MIME format. --------------020202040803040007070908 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 ) > > On 12/15/06, *Thomas Markus* > 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." --------------020202040803040007070908 Content-Type: text/x-vcard; charset=utf-8; name="t.markus.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="t.markus.vcf" begin:vcard fn:Thomas Markus n:Markus;Thomas org:proventis GmbH adr;dom:;;Zimmerstr. 79-80;Berlin;Berlin;10117 email;internet:t.markus@proventis.net tel;work:+49 30 29 36 399 22 x-mozilla-html:FALSE url:http://www.proventis.net version:2.1 end:vcard --------------020202040803040007070908--