X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 904FB9FB202 for ; Thu, 14 Sep 2006 11:26:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 78470-07 for ; Thu, 14 Sep 2006 14:26:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by postgresql.org (Postfix) with ESMTP id 6129F9F9F2F for ; Thu, 14 Sep 2006 11:26:12 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id t13so2862315wxc for ; Thu, 14 Sep 2006 07:26:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WGGFYiFkDGGxBe3vXB7QYYeOlBnfBIlioAVVjRT1CWwHiPJoqwgUY39yXrOcp0jgelepEMxnrrS1NZenMqjdMWB9HE7rWTNcA4dZF8du3u+ldCKn9NlPlfvVTSVYlml1ZgeqDo0qJXej5wcR1VS5OlPgMnz3lRU4B5V4KZT2TyY= Received: by 10.90.115.9 with SMTP id n9mr799122agc; Thu, 14 Sep 2006 07:26:10 -0700 (PDT) Received: by 10.90.36.2 with HTTP; Thu, 14 Sep 2006 07:26:10 -0700 (PDT) Message-ID: <1d4e0c10609140726i4e18aaa2w19e680038f8c64b0@mail.gmail.com> Date: Thu, 14 Sep 2006 16:26:10 +0200 From: "Guillaume Smet" To: "=?ISO-8859-1?Q?J=E9r=F4me_BENOIS?=" Subject: Re: High CPU Load Cc: pgsql-performance@postgresql.org In-Reply-To: <1158242414.5226.31.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1158239339.5226.17.camel@localhost.localdomain> <1d4e0c10609140646g6ad1ab4w51dec49afba11fd7@mail.gmail.com> <1158242414.5226.31.camel@localhost.localdomain> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.199 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/156 X-Sequence-Number: 20842 On 9/14/06, J=E9r=F4me BENOIS wrote: > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 15667 postgres 25 0 536m 222m 532m R 98.8 11.0 1:39.29 postmaster > 19533 postgres 25 0 535m 169m 532m R 92.9 8.3 0:38.68 postmaster > 16278 postgres 25 0 537m 285m 532m R 86.3 14.1 1:37.56 postmaster Enable stats_command_string and see which queries are running on these backends by selecting on pg_stat_activity. Do the queries finish? Do you have them in your query log? -- Guillaume