Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 522289FB98F for ; Wed, 25 Jul 2007 00:15:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 53277-06 for ; Wed, 25 Jul 2007 00:15:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id 095009F9F75 for ; Wed, 25 Jul 2007 00:15:20 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so287247ugf for ; Tue, 24 Jul 2007 20:15:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BfDYNKYtyalQp1V0znXgsr4YzOVxKCbC8Oc9ru4mwx1my40g4DLkjiqopPfi/fV3ow8tNj9WeJF3vFSSlFXQzRs5kncpe0owhFC0+jTM+9Mt1Bkwr4VS0WQ7fsaMol8zVkZAKVFyzyquqr8IfipWb6dHNoy1ygol/PwDuCL/oC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kGGYBLl0RC2epl1Dt4g2XuhrGEVFrxm95vuEqayMSzVCbB4z4jIegRli49Vtww6XNtqLCqBXT0A8A6yOBXnhLw+0O6yNEgSvK9VENMB2/18X0XmKp92XKeJW82zc1KCP5zfKfaXaPJl/zxRT+UO6kGjej9ZNumScGiMdCGnxQTc= Received: by 10.78.160.4 with SMTP id i4mr50020hue.1185333319790; Tue, 24 Jul 2007 20:15:19 -0700 (PDT) Received: by 10.78.18.9 with HTTP; Tue, 24 Jul 2007 20:15:19 -0700 (PDT) Message-ID: Date: Wed, 25 Jul 2007 08:45:19 +0530 From: "Merlin Moncure" To: "Karl Denninger" Subject: Re: Performance issue with 8.2.3 - "C" application Cc: "Tom Lane" , pgsql-performance@postgresql.org In-Reply-To: <46A6BBB1.1020502@denninger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46A6A549.1040606@denninger.net> <29633.1185331558@sss.pgh.pa.us> <46A6BBB1.1020502@denninger.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/329 X-Sequence-Number: 26013 On 7/25/07, Karl Denninger wrote: > > Yeah, the problem doesn't appear to be there. As I said, if I look at the > PS of the system when its bogging, there aren't a whole bunch of processes > stuck doing these, so while this does take a second or two to come back, > that's not that bad. > > Its GENERAL performance that just bites - the system is obviously out of > CPU, but what I can't get a handle on is WHY. It does not appear to be > accumulating large amounts of runtime in processes I can catch, but the load > average is quite high. 8.2.3 has the 'stats collector bug' (fixed in 8.2.4) which increased load in high concurrency conditions. on a client's machine after patching the postmaster load drop from the 4-5 range to 1-2 range on a 500 tps server. maybe this is biting you? symptoms are high load avg and high cpu usage of stats collector process. merlin