Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id F1FA56335BD for ; Mon, 5 Apr 2010 22:54:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45457-05 for ; Tue, 6 Apr 2010 01:54:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 2F9B46335B6 for ; Mon, 5 Apr 2010 22:54:08 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 75271AE4D1; Tue, 6 Apr 2010 09:52:26 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail2.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0sjeDsapAGFp; Tue, 6 Apr 2010 09:52:21 +0800 (WST) Received: from [10.1.1.4] (unknown [124.148.205.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 67FBDAE2E1; Tue, 6 Apr 2010 09:52:21 +0800 (WST) Message-ID: <4BBA942F.4080100@postnewspapers.com.au> Date: Tue, 06 Apr 2010 09:53:51 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Brian Cox CC: "pgsql-performance@postgresql.org" Subject: Re: query slow; strace output worrisome References: <4BBA87DC.1030205@ca.com> In-Reply-To: <4BBA87DC.1030205@ca.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201004/43 X-Sequence-Number: 38293 On 6/04/2010 9:01 AM, Brian Cox wrote: > The SELECT show below has been running for 30+mins and the strace output > is alarming: > > [root@dione ~]# strace -p 10083 > Process 10083 attached - interrupt to quit > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(NULL, 037777777777) = 216203264 > restart_syscall(<... resuming interrupted call ...>) = 8192 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > creat(umovestr: Input/output error > 0x2, 037777777777) = 1025220608 > > however, I can find no indication of I/O errors in the postgres log. > Anyone have any idea what's going on here? Anything in `dmesg' (command) or /var/log/syslog ? -- Craig Ringer