Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJ9x-00021I-9y for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2013 18:33:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UDJ9w-0005KI-1T for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2013 18:33:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJ9v-0005KC-0R for pgsql-bugs@postgresql.org; Wed, 06 Mar 2013 18:33:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJ9p-0001G2-Ha for pgsql-bugs@postgresql.org; Wed, 06 Mar 2013 18:33:46 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r26IXZ3f019325; Wed, 6 Mar 2013 13:33:36 -0500 (EST) From: Tom Lane To: "Shin-ichi MORITA" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7914: pg_dump aborts occasionally In-reply-to: References: <17113.1362429434@sss.pgh.pa.us> <2528D0D4784443EB95A0752179B0C0CE@25a038note> <13236.1362511346@sss.pgh.pa.us> Comments: In-reply-to "Shin-ichi MORITA" message dated "Wed, 06 Mar 2013 12:59:27 +0900" Date: Wed, 06 Mar 2013 13:33:35 -0500 Message-ID: <19324.1362594815@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "Shin-ichi MORITA" writes: >> If so, perhaps injecting a sleep() delay into the right place in pg_dump >> or libpq would make it reproducible? > An alternative way would be running pg_dump with a lower priority. > Actually, I can reproduce this issue by setting the priority of > pg_dump to Low using Windows Task Manager > on the "single processor" environment. I tried nice'ing pg_dump without any success in making it bloat memory. I'm suspicious that there's something Windows-specific in what you're seeing, because it's fairly hard to credit that nobody's seen this problem in the ten years or so that libpq has been doing it like that. Can anyone else manage to reproduce a similar behavior? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs