X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1F5709DCB8A for ; Fri, 24 Mar 2006 10:46:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31668-03 for ; Fri, 24 Mar 2006 10:46:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from globalrelay.com (mail1.globalrelay.com [216.18.71.77]) by postgresql.org (Postfix) with ESMTP id 942EA9DCB82 for ; Fri, 24 Mar 2006 10:46:51 -0400 (AST) X-Virus-Scanned: Scanned by GRC-AntiVirus Gateway X-GR-Acctd: YES Received: from [216.160.41.114] (HELO DaveEMachine) by globalrelay.com (CommuniGate Pro SMTP 4.2.3) with ESMTP id 86473841; Fri, 24 Mar 2006 06:46:54 -0800 From: "Dave Dutcher" To: "'Jim C. Nasby'" Cc: Subject: Re: Problem with query, server totally unresponsive Date: Fri, 24 Mar 2006 08:46:54 -0600 Message-ID: <000c01c64f51$cb71b590$8300a8c0@tridecap.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20060324102520.GS90527@pervasive.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/497 X-Sequence-Number: 17934 > From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance- > owner@postgresql.org] On Behalf Of Jim C. Nasby > Subject: Re: [PERFORM] Problem with query, server totally unresponsive > > On Thu, Mar 23, 2006 at 01:12:08PM +0100, Bendik Rognlien Johansen wrote: > > Hello, I have a big problem with one of my databases. When i run my > > query, after a few minutes, the postmaster shows 99% mem i top, and > > the server becomes totally unresponsive. > > You've got a bunch of sorts going on; could you be pushing the machine > into swapping? > > > I get this message when I try to cancel the query: > > > > server closed the connection unexpectedly > > This probably means the server terminated abnormally > > before or while processing the request. > > The connection to the server was lost. Attempting reset: Failed. > > Did you send a kill of some kind to the backend? > > > The machine has 2x Intel dual core processors (3GHz) and 2 Gigs of ram. > > Unless I missed some big news recently, no such CPU exists. > Hyperthreading is absolutely not the same as dual core, and many people > have found that it's best to disable hyperthreading on database servers. Maybe I'm confused by the marketing, but I think those CPUs do exist. According to New Egg the Pentium D 830 and the Pentium D 930 both are dual core Pentiums that run at 3Ghz. It also specifically says these processors don't support hyper threading, so I believe they really have two cores. Maybe you are thinking he was talking about a 3Ghz Core Duo. http://www.newegg.com/Product/ProductList.asp?Category=34&N=2000340000+5 0001157+1302820275+1051007392&Submit=ENE Dave