Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 1C414632A9B for ; Sat, 13 Mar 2010 12:33:51 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 56304-03 for ; Sat, 13 Mar 2010 16:33:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 37E1D63230D for ; Sat, 13 Mar 2010 12:33:40 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o2DGXPcM002690; Sat, 13 Mar 2010 11:33:25 -0500 (EST) To: Axel Rau cc: pgsql-admin@postgresql.org Subject: Re: remote pg_dump hangs always at same table In-reply-to: <63A3189E-E6F9-491B-91CF-E907EF9C8C6C@chaos1.de> References: <63A3189E-E6F9-491B-91CF-E907EF9C8C6C@chaos1.de> Comments: In-reply-to Axel Rau message dated "Sat, 13 Mar 2010 13:24:50 +0100" Date: Sat, 13 Mar 2010 11:33:25 -0500 Message-ID: <2689.1268498005@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.458 tagged_above=-10 required=5 tests=AWL=0.141, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/84 X-Sequence-Number: 33883 Axel Rau writes: > I have a daily remote backup session like > pg_dump -h db -i -Fp database | gzip > file > which hangs after producing about 200 MB of compressed output: Is it CPU-busy, or idle? If the latter, is it blocked on a lock according to pg_locks? The most informative thing you could do is attach to both pg_dump and its connected backend with gdb and get stack traces. But looking at pg_locks might solve the mystery without that. regards, tom lane